If Statements

Victor Woo (vwoo@telus.net) Sun, 24 Sep 2000 17:25:21 -0700


From: "Victor Woo" <vwoo@telus.net>
Subject: If Statements
Date: Sun, 24 Sep 2000 17:25:21 -0700

The course notes states that we are only allowed to use single-if structures, am I to interpret that we are allowed to use multiple if statements in our code and are not allowed to use nested if statements? ie. are we allowed to do the following: process(clk) begin if clk'event and clk = '1' then foo <= something; end if; if something_else = '1' then foo <= something_totally_different; end if; end process; Thanks! Victor Woo email: vwoo@telus.net