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
- from Rev 4 to Rev 20
- ↔ Reverse comparison
Rev 4 → Rev 20
/vhdl/PresentDecodeCommSM.vhd
389,13 → 389,11
|
state_modifier : process (clk, reset) |
begin |
if (clk = '1' and clk'Event) then |
if (reset = '1') then |
state <= NOP; |
else |
state <= next_state; |
end if; |
end if; |
if (reset = '1') then |
state <= NOP; |
elsif (clk = '1' and clk'Event) then |
state <= next_state; |
end if; |
end process state_modifier; |
|
-- counter for controling number of bytes of readed data |
/vhdl/ShiftReg.vhd
77,10 → 77,10
begin |
reg : process (clk, reset, data) |
begin |
if (clk'event and clk = '1') then |
if (reset = '1') then |
data <= (others => '0'); |
elsif (en = '1') then |
if (reset = '1') then |
data <= (others => '0'); |
elsif (clk'event and clk = '1') then |
if (en = '1') then |
data(internal_data - 1 downto internal_data - length_1) <= input; |
else |
if (shift = '1') then |