Примеры кода для A-C4E6E10.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
a-c4e6e10_exemple/AHDL_test/test.tdf.bak

28 lines
432 B

SUDESIGN decode1
(
test : INPUT;
number[8..0][4..0] : OUTPUT;
)
BEGIN
IF test == 1
THEN
number[0] = 1;
number[1] = 2;
number[2] = 3;
number[3] = 4;
number[4] = 5;
number[5] = 6;
number[6] = 7;
number[7] = 8;
ELSE
number[0] = 0;
number[1] = 0;
number[2] = 0;
number[3] = 0;
number[4] = 0;
number[5] = 0;
number[6] = 0;
number[7] = 0;
END IF;
END;