aboutsummaryrefslogtreecommitdiffstats
path: root/3rdparty/python-console/data/test3.py
blob: 19ad5eb587c0a59865ed10eb7e89b2dc4bb79e46 (plain)
1
2
3
4
for i in range(1, 10):
    print i
for i in range(1, 10):
    print i
lass="k">is end system; architecture behav of system is subtype entry is unsigned(7 downto 0); type invect is array (natural range <>) of entry; signal minimum : entry; signal vec : invect(0 to 20); function min(iv : invect) return entry is begin return iv(0); end; begin process begin minimum <= min(invect); -- should be vec not invect wait; end process; end behav;