There are several problems with this code
1. You have clk_in in the sensitivity list, but you have not created a synchronous process, so no registers will be infered. You need to do an edge detection on the clk to do that:
Code VHDL - [expand] |
1
2
3
4
5
6
| process(clk)
begin
if rising_edge(clk) then
-- synchronous code goes here
end if;
end process; |
While it may look like synchronous code in a similation it will change the outputs on both clock edges and it will only infer a wire when you try and synthesise it.
2. No of "the_output" assigns will work, as the indexing into ins_dummy needs to be an integer, and all of the indexes are std_logic_vectors.
3. You have made ins_dummy a signal, but it is never assigned. It would be better as a constant (to infer a rom).