[an error occurred while processing this directive]
[an error occurred while processing this directive]
|
MAX 9.23 примеры на AHDL
SUBDESIGN count
(
clk, load, ena, clr, d[15..0] : INPUT;
q[15..0] : OUTPUT;
)
VARIABLE
count[15..0] : DFF;
BEGIN
count[].clk = clk;
count[].clrn = !clr;
IF load THEN
count[].d = d[];
ELSIF ena THEN
count[].d = count[].q + 1;
ELSE
count[].d = count[].q;
END IF;
q[] = count[];
END;
count.rpt
** DEVICE SUMMARY **
Chip/ Input Output Bidir Shareable
POF Device Pins Pins Pins LCs Expanders % Utilized
count EPM7064SLC84-5 20 16 0 16 0 25 %
User Pins: 20 16 0
E-mail: info@telesys.ru