gEDA-dev: Iverilog for loop
bruce cheng
bruce1914 at gmail.com
Fri Apr 11 11:16:45 EDT 2008
Hi,
When I use Iverilog to parse this for loop in testbench
for ( ADDR = 6'b000000 ; ADDR <= 6'b111111 ; ADDR = ADDR + 6'b000001 )
begin
#10 ;
$display ( "%b --> %b %b %b %b %b %b", ADDR,
SEL5,SEL4,SEL3,SEL2,SEL1,SEL0 ) ;
End
Marked blue should be interpret as equal or smaller according to
Verilog IEEE. However, the parser set it as give value to ADDR, then the
loop can not break.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.seul.org/pipermail/geda-dev/attachments/20080411/c31127cf/attachment.htm
More information about the geda-dev
mailing list