I am trying to convert code written in verilog to C. I need to convert 
the following line present in verilog to C.  

 data = { 8'b00000001, a, 1'b0, b, 16'h1234 }

 were data is 32-bit , a and b are 3 bit. The a and b are given 
different 3 bit values (i.e 0 to 7) down the code.
Can anyone help me on this?


Reply via email to