diff options
author | Bert Lange <b.lange@hzdr.de> | 2011-10-28 11:25:31 +0200 |
---|---|---|
committer | Bert Lange <b.lange@hzdr.de> | 2011-10-28 11:25:31 +0200 |
commit | 221eb9f6525789d20f2895b2de775bf345cf97cb (patch) | |
tree | d2de23511f1579d1170c61665c13ea68d413cf0c /zpu/hdl/zealot/zpu_small.vhdl | |
parent | 662a6952bc04419ac063cf3eb2b5917978eec0a1 (diff) | |
download | zpu-221eb9f6525789d20f2895b2de775bf345cf97cb.zip zpu-221eb9f6525789d20f2895b2de775bf345cf97cb.tar.gz |
minor fix: reduce simulation warnings at 0 ps
Diffstat (limited to 'zpu/hdl/zealot/zpu_small.vhdl')
-rw-r--r-- | zpu/hdl/zealot/zpu_small.vhdl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/zpu/hdl/zealot/zpu_small.vhdl b/zpu/hdl/zealot/zpu_small.vhdl index 2e5f464..056b924 100644 --- a/zpu/hdl/zealot/zpu_small.vhdl +++ b/zpu/hdl/zealot/zpu_small.vhdl @@ -148,13 +148,13 @@ begin -- Select the addressed byte inside the fetched word case (to_integer(pc_r(BYTE_BITS-1 downto 0))) is when 0 => - topcode:=b_i(31 downto 24); + topcode := to_01( b_i(31 downto 24)); when 1 => - topcode:=b_i(23 downto 16); + topcode := to_01( b_i(23 downto 16)); when 2 => - topcode:=b_i(15 downto 8); + topcode := to_01( b_i(15 downto 8)); when others => -- 3 - topcode:=b_i(7 downto 0); + topcode := to_01( b_i(7 downto 0)); end case; opcode <= topcode; |