binary values in systemC

Status
Not open for further replies.

qwerty_asdf

Member level 4
Joined
Mar 26, 2012
Messages
73
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,781
Hello,

I am new to SystemC. in verilog my code is this:

Code:
 output<= {53'b0, reg_D, reg_C, reg_B, reg_A}

where output is 64-bit.
What is the equivalent in systemC?

i have written this but I do not know how to represent the 54'b0.

Code:
output.write(.concat(??,reg_D,reg_C,reg_B,reg_A));
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…