(count /= to_integer(unsigned(hex_value)))
count != hex_value
Code Verilog - [expand] 1 2 3 $fgets(line,fd); $sscanf(line,"%h",data); if(data == ) begin
thanks very much everyone . I can now compile but while simulating I get the following error Illegal inout port connection for port 'pp'. It is a inoot port and I have defined it as logic [3:0] pp in my .sv file (which uses mostly verilog at the moment and have made assignments as
0}};
pp <= {$bits(pp){1'bZ}}; Can you guys please advise me why? and how to get rid of this error.
Also I am getting some warnings as ''Warning: (vsim-3479) Time unit 'ps' is less than the simulator resolution (1ns)"" ??
Thanks.. This error is not helping me move forward. Many thanks
assign io_data_bus = (output_enable) ? data_out : {(16){1'bz}};
Code Verilog - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 initial begin ... .... io_data_bus <= {$bits(io_data_bus ){1'bZ}} end initial begin ... .... io_data_bus <= data end
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?