Commit 10cf6af5 authored by Dimitris Lampridis's avatar Dimitris Lampridis

hdl: update cheby-generated register blocks.

This is a manual edit to add 'X' initial values to the register read vector.

This helps a lot with the Xilinx implementation of the code (wrt timing).

This is automatically done by cheby-1.4, but a) it's not released yet and b) when tested,
it created other timing issues.

So for now we stay with cheby-1.3 and manual edit of the vhd files.
Signed-off-by: Dimitris Lampridis's avatarDimitris Lampridis <dimitris.lampridis@cern.ch>
parent 162b78cd
......@@ -165,7 +165,7 @@ begin
if rst_n_i = '0' then
rd_ack1_int <= '0';
else
reg_rdat_int <= (others => '0');
reg_rdat_int <= (others => 'X');
case wb_i.adr(4 downto 2) is
when "000" =>
-- ctl
......
......@@ -143,7 +143,7 @@ begin
if rst_n_i = '0' then
rd_ack1_int <= '0';
else
reg_rdat_int <= (others => '0');
reg_rdat_int <= (others => 'X');
case wb_i.adr(4 downto 3) is
when "00" =>
case wb_i.adr(2 downto 2) is
......
......@@ -141,7 +141,7 @@ begin
ts_cycles_rd_o <= '0';
else
ts_cycles_rd_o <= '0';
reg_rdat_int <= (others => '0');
reg_rdat_int <= (others => 'X');
case wb_i.adr(4 downto 3) is
when "00" =>
case wb_i.adr(2 downto 2) is
......
......@@ -139,7 +139,7 @@ begin
if rst_n_i = '0' then
rd_ack1_int <= '0';
else
reg_rdat_int <= (others => '0');
reg_rdat_int <= (others => 'X');
case wb_i.adr(3 downto 2) is
when "00" =>
-- idr
......
......@@ -308,7 +308,7 @@ begin
if rst_n_i = '0' then
rd_ack1_int <= '0';
else
reg_rdat_int <= (others => '0');
reg_rdat_int <= (others => 'X');
case wb_i.adr(12 downto 9) is
when "1000" =>
when "1010" =>
......
......@@ -154,7 +154,7 @@ begin
if rst_n_i = '0' then
rd_ack1_int <= '0';
else
reg_rdat_int <= (others => '0');
reg_rdat_int <= (others => 'X');
case wb_i.adr(14 downto 13) is
when "01" =>
when "10" =>
......
......@@ -190,7 +190,7 @@ begin
if rst_n_i = '0' then
rd_ack1_int <= '0';
else
reg_rdat_int <= (others => '0');
reg_rdat_int <= (others => 'X');
case wb_i.adr(14 downto 13) is
when "01" =>
when "10" =>
......
......@@ -204,7 +204,7 @@ begin
if rst_n_i = '0' then
rd_ack1_int <= '0';
else
reg_rdat_int <= (others => '0');
reg_rdat_int <= (others => 'X');
case wb_i.adr(6 downto 2) is
when "00000" =>
-- seconds_upper
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment