brain123
Newbie level 5
Doubt in verilog
Can u help me with this code.
This is a code in vhdl i want to convert into verilog.
info: dbus (8 bit inout data bus)
sci_read (1 bit conrol signal)
addr ( 2 bit addr bus)
rdr, sccr, scsr (internal 8 bit data reg)
VHDL code:
dbus <= (others = 'Z') when sci_read = '0',
else rdr when addr = "00",
else scsr when addr = "01",
else sccr;
Help me convert it into verilog.
Can u help me with this code.
This is a code in vhdl i want to convert into verilog.
info: dbus (8 bit inout data bus)
sci_read (1 bit conrol signal)
addr ( 2 bit addr bus)
rdr, sccr, scsr (internal 8 bit data reg)
VHDL code:
dbus <= (others = 'Z') when sci_read = '0',
else rdr when addr = "00",
else scsr when addr = "01",
else sccr;
Help me convert it into verilog.