diff options
author | Matt Ettus <matt@ettus.com> | 2010-02-25 18:48:51 -0800 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2010-02-25 18:48:51 -0800 |
commit | bcf582bab2544a1d519f84c659322c4c4adc59a1 (patch) | |
tree | 5c364c123bfc4b69d423a3b301c0a5925dd1873a | |
parent | c8e869b2e685cb8a5c012498b7f47aaadf39698a (diff) | |
download | uhd-bcf582bab2544a1d519f84c659322c4c4adc59a1.tar.gz uhd-bcf582bab2544a1d519f84c659322c4c4adc59a1.tar.bz2 uhd-bcf582bab2544a1d519f84c659322c4c4adc59a1.zip |
fix syntax error which icarus allowed (filed a bug with them)
-rw-r--r-- | usrp2/gpmc/dbsm.v | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/usrp2/gpmc/dbsm.v b/usrp2/gpmc/dbsm.v index ff61859ec..530af7205 100644 --- a/usrp2/gpmc/dbsm.v +++ b/usrp2/gpmc/dbsm.v @@ -39,13 +39,15 @@ module dbsm // Two of these buffer state machines genvar i; - for(i=0;i<NUM_BUFS;i=i+1) - generate - bsm bsm(.clk(clk), .reset(reset), .clear(clear), - .write_done((write_sel == i) & write_done), - .read_done((read_sel == i) & read_done), - .readable(readable[i]), .writeable(writeable[i])); - endgenerate + generate + for(i=0;i<NUM_BUFS;i=i+1) + begin : BSMS + bsm bsm(.clk(clk), .reset(reset), .clear(clear), + .write_done((write_sel == i) & write_done), + .read_done((read_sel == i) & read_done), + .readable(readable[i]), .writeable(writeable[i])); + end + endgenerate reg full; |