[Xilinx/dpram_2w2r2c_ra]
- re_a, re_b don't care git-svn-id: http://moon:8086/svn/vhdl/trunk@1114 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -70,9 +70,9 @@ if clk_a'event and clk_a = '1' then
|
||||
if we_a = '1' then
|
||||
RAM(to_integer(addr_a)) := din_a;
|
||||
end if;
|
||||
if re_a = '1' then
|
||||
-- if re_a = '1' then
|
||||
addr_a_r <= addr_a;
|
||||
end if;
|
||||
-- end if;
|
||||
end if;
|
||||
end process;
|
||||
|
||||
@@ -83,9 +83,9 @@ if clk_b'event and clk_b = '1' then
|
||||
if we_b = '1' then
|
||||
RAM(to_integer(addr_b)) := din_b;
|
||||
end if;
|
||||
if re_b = '1' then
|
||||
-- if re_b = '1' then
|
||||
addr_b_r <= addr_b;
|
||||
end if;
|
||||
-- end if;
|
||||
end if;
|
||||
end process;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user