URL
https://opencores.org/ocsvn/present/present/trunk
Subversion Repositories present
Compare Revisions
- This comparison shows the changes necessary to convert path
/present/trunk/DecodeTesting/rtl/vhdl
- from Rev 20 to Rev 4
- ↔ Reverse comparison
Rev 20 → Rev 4
/PresentDecodeCommSM.vhd
389,11 → 389,13
|
state_modifier : process (clk, reset) |
begin |
if (reset = '1') then |
state <= NOP; |
elsif (clk = '1' and clk'Event) then |
state <= next_state; |
end if; |
if (clk = '1' and clk'Event) then |
if (reset = '1') then |
state <= NOP; |
else |
state <= next_state; |
end if; |
end if; |
end process state_modifier; |
|
-- counter for controling number of bytes of readed data |
/ShiftReg.vhd
77,10 → 77,10
begin |
reg : process (clk, reset, data) |
begin |
if (reset = '1') then |
data <= (others => '0'); |
elsif (clk'event and clk = '1') then |
if (en = '1') then |
if (clk'event and clk = '1') then |
if (reset = '1') then |
data <= (others => '0'); |
elsif (en = '1') then |
data(internal_data - 1 downto internal_data - length_1) <= input; |
else |
if (shift = '1') then |