[BB-FIFO]

- even nicer

git-svn-id: http://moon:8086/svn/vhdl/trunk@1348 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2016-12-19 18:36:04 +00:00
parent f1c3a17fa8
commit 4cd0065434
3 changed files with 9 additions and 10 deletions
+1 -3
View File
@@ -87,9 +87,7 @@ gen_bb:
process (clk) process (clk)
begin begin
if rising_edge(clk) then if rising_edge(clk) then
if rst = '1' then if ce(i) = '1' then
bucket_array(i) <= (others => '0');
elsif ce(i) = '1' then
bucket_array(i) <= bucket_array(i-1); bucket_array(i) <= bucket_array(i-1);
end if; end if;
end if; end if;
+1 -1
View File
@@ -11,4 +11,4 @@ do {tb_bbfifo.wdo}
view wave view wave
view structure view structure
view signals view signals
run 1us run 500 ns
+7 -6
View File
@@ -5,15 +5,16 @@ add wave -noupdate -format Logic /tb_bbfifo/clk
add wave -noupdate -format Logic /tb_bbfifo/re add wave -noupdate -format Logic /tb_bbfifo/re
add wave -noupdate -format Logic /tb_bbfifo/we add wave -noupdate -format Logic /tb_bbfifo/we
add wave -noupdate -format Logic /tb_bbfifo/ready add wave -noupdate -format Logic /tb_bbfifo/ready
add wave -noupdate -format Logic /tb_bbfifo/avail
add wave -noupdate -format Literal -radix hexadecimal /tb_bbfifo/din add wave -noupdate -format Literal -radix hexadecimal /tb_bbfifo/din
add wave -noupdate -format Logic /tb_bbfifo/avail
add wave -noupdate -format Literal -radix hexadecimal /tb_bbfifo/dout add wave -noupdate -format Literal -radix hexadecimal /tb_bbfifo/dout
add wave -noupdate -format Literal -radix hexadecimal /tb_bbfifo/inst_bbfifo/bucket_array
add wave -noupdate -format Literal /tb_bbfifo/inst_bbfifo/q
add wave -noupdate -format Literal /tb_bbfifo/inst_bbfifo/ce
add wave -noupdate -format Literal -radix hexadecimal /tb_bbfifo/dout_reg add wave -noupdate -format Literal -radix hexadecimal /tb_bbfifo/dout_reg
add wave -noupdate -divider BB-FIFO
add wave -noupdate -format Literal /tb_bbfifo/inst_bbfifo/ce
add wave -noupdate -format Literal /tb_bbfifo/inst_bbfifo/q
add wave -noupdate -format Literal -radix hexadecimal /tb_bbfifo/inst_bbfifo/bucket_array
TreeUpdate [SetDefaultTree] TreeUpdate [SetDefaultTree]
WaveRestoreCursors {{Cursor 1} {49969 ps} 0} WaveRestoreCursors {{Cursor 1} {70000 ps} 0}
configure wave -namecolwidth 150 configure wave -namecolwidth 150
configure wave -valuecolwidth 100 configure wave -valuecolwidth 100
configure wave -justifyvalue left configure wave -justifyvalue left
@@ -27,4 +28,4 @@ configure wave -gridperiod 1
configure wave -griddelta 40 configure wave -griddelta 40
configure wave -timeline 0 configure wave -timeline 0
update update
WaveRestoreZoom {0 ps} {1050 ns} WaveRestoreZoom {0 ps} {525 ns}