Skip to content

Instantly share code, notes, and snippets.

View hughesjs's full-sized avatar

James H hughesjs

  • FinLegal
  • United Kingdom
View GitHub Profile
39 io_sync: process(clk, rst)
40 begin
41 if (rst = '1') then
42 io_pipe <= (others => '0');
43 elsif (rising_edge(clk)) then
44 io_pipe(0) <= dri; -- Add new value to start of queue
45 io_pipe <= io_pipe(io_pipe_len - 1 downto 0) & '0' ; --Left shift whole queue
46 if (io_pipe(io_pipe_len) = '1') then
47