Commit 4e9982b6 authored by Andrey Filippov's avatar Andrey Filippov

added simulation output for comparing to 393

parent 1bf7e77f
...@@ -668,5 +668,23 @@ assign conv20_pre_first_out= conv18_pre_first_out; ...@@ -668,5 +668,23 @@ assign conv20_pre_first_out= conv18_pre_first_out;
.SSRB(1'b0), // Port B Synchronous Set/Reset Input .SSRB(1'b0), // Port B Synchronous Set/Reset Input
.WEB(1'b0) // Port B Write Enable Input .WEB(1'b0) // Port B Write Enable Input
); );
`ifdef SIMULATION
reg [8:0] sim_dout_cntr;
reg sim_dav;
//converter_type_r
always @(posedge clk) begin
if ( inc_sdrama && ! sim_dav) $display("CMPRS INPUT converter type= %x @ %t",converter_type_r, $time);
sim_dav <= inc_sdrama;
if (!sim_dav) sim_dout_cntr <= 0;
else sim_dout_cntr <= sim_dout_cntr + 1;
if (sim_dav) begin
$display("CMPRS INPUT %x:%x @ %t",sim_dout_cntr, di, $time);
end
end
`endif
endmodule endmodule
[*] [*]
[*] GTKWave Analyzer v3.3.66 (w)1999-2015 BSI [*] GTKWave Analyzer v3.3.66 (w)1999-2015 BSI
[*] Wed Aug 12 20:04:28 2015 [*] Fri Aug 14 23:43:33 2015
[*] [*]
[dumpfile] "/home/andrey/git/x353/simulation/x353_1-20150811225618852.fst" [dumpfile] "/home/andrey/git/x353/simulation/x353_1-20150811225618852.fst"
[dumpfile_mtime] "Wed Aug 12 05:02:46 2015" [dumpfile_mtime] "Wed Aug 12 05:02:46 2015"
...@@ -8,11 +8,12 @@ ...@@ -8,11 +8,12 @@
[savefile] "/home/andrey/git/x353/x353_1.sav" [savefile] "/home/andrey/git/x353/x353_1.sav"
[timestart] 0 [timestart] 0
[size] 1823 1180 [size] 1823 1180
[pos] -4 -4 [pos] -1 -1
*-26.540974 518000000 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 *-26.540974 530600000 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
[treeopen] testbench353. [treeopen] testbench353.
[treeopen] testbench353.i_x353. [treeopen] testbench353.i_x353.
[treeopen] testbench353.i_x353.i_compressor. [treeopen] testbench353.i_x353.i_compressor.
[treeopen] testbench353.i_x353.i_compressor.i_color_proc.
[sst_width] 308 [sst_width] 308
[signals_width] 238 [signals_width] 238
[sst_expanded] 1 [sst_expanded] 1
...@@ -26,6 +27,7 @@ testbench353.PXD[11:0] ...@@ -26,6 +27,7 @@ testbench353.PXD[11:0]
@28 @28
testbench353.VACT testbench353.VACT
testbench353.HACT testbench353.HACT
testbench353.DCLK
@1000200 @1000200
-sensor_in -sensor_in
@c00200 @c00200
...@@ -68,10 +70,12 @@ testbench353.i_x353.i_compressor.i_color_proc.en ...@@ -68,10 +70,12 @@ testbench353.i_x353.i_compressor.i_color_proc.en
testbench353.i_x353.i_compressor.i_color_proc.go testbench353.i_x353.i_compressor.i_color_proc.go
testbench353.i_x353.i_compressor.i_color_proc.eot testbench353.i_x353.i_compressor.i_color_proc.eot
testbench353.i_x353.i_compressor.i_color_proc.sdram_next testbench353.i_x353.i_compressor.i_color_proc.sdram_next
@29
testbench353.i_x353.i_compressor.i_color_proc.sdram_rdy testbench353.i_x353.i_compressor.i_color_proc.sdram_rdy
@22 @22
testbench353.i_x353.i_compressor.i_color_proc.sdram_a[10:0] testbench353.i_x353.i_compressor.i_color_proc.sdram_a[10:0]
@28
testbench353.i_x353.i_compressor.i_color_proc.first_pixel
@22
testbench353.i_x353.i_compressor.i_color_proc.di[7:0] testbench353.i_x353.i_compressor.i_color_proc.di[7:0]
testbench353.i_x353.i_compressor.i_color_proc.do[9:0] testbench353.i_x353.i_compressor.i_color_proc.do[9:0]
@28 @28
...@@ -80,7 +84,34 @@ testbench353.i_x353.i_compressor.i_color_proc.ds ...@@ -80,7 +84,34 @@ testbench353.i_x353.i_compressor.i_color_proc.ds
testbench353.i_x353.i_compressor.i_color_proc.tn[2:0] testbench353.i_x353.i_compressor.i_color_proc.tn[2:0]
testbench353.i_x353.i_compressor.i_color_proc.first testbench353.i_x353.i_compressor.i_color_proc.first
testbench353.i_x353.i_compressor.i_color_proc.last testbench353.i_x353.i_compressor.i_color_proc.last
testbench353.i_x353.i_compressor.i_color_proc.inc_sdrama
@200
-
@23
testbench353.i_x353.i_compressor.cmprs_mode[3:0]
@22
testbench353.i_x353.i_compressor.converter_type[2:0]
@c00022
testbench353.i_x353.i_compressor.i_color_proc.converter_type_r[2:0]
@28
(0)testbench353.i_x353.i_compressor.i_color_proc.converter_type_r[2:0]
(1)testbench353.i_x353.i_compressor.i_color_proc.converter_type_r[2:0]
(2)testbench353.i_x353.i_compressor.i_color_proc.converter_type_r[2:0]
@1401202
-group_end
@1000200 @1000200
-color_proc -color_proc
@800200
-csconvert18
@22
testbench353.i_x353.i_compressor.i_color_proc.i_csconvert18.din[7:0]
@28
testbench353.i_x353.i_compressor.i_color_proc.i_csconvert18.pre_first_in
testbench353.i_x353.i_compressor.i_color_proc.i_csconvert18.pre_first_out
@22
testbench353.i_x353.i_compressor.i_color_proc.i_csconvert18.signed_y[7:0]
testbench353.i_x353.i_compressor.i_color_proc.i_csconvert18.q[8:0]
@1000200
-csconvert18
[pattern_trace] 1 [pattern_trace] 1
[pattern_trace] 0 [pattern_trace] 0
...@@ -1196,7 +1196,9 @@ task program_compressor; ...@@ -1196,7 +1196,9 @@ task program_compressor;
*/ */
`ifdef CONTINUOUS_COMPRESSION `ifdef CONTINUOUS_COMPRESSION
// program_compressor ('h65,0,0,0, 2, 1,0,3); //focus mode 0 - sub dc, repetitive, mode 5 (jp46), shift 0 quality=100? // program_compressor ('h65,0,0,0, 2, 1,0,3); //focus mode 0 - sub dc, repetitive, mode 5 (jp46), shift 0 quality=100?
program_compressor ('h65,0,0,0, 2, 1,1,3); //focus mode 0 - sub dc, repetitive, mode 5 (jp46), shift 0 quality=70? //AF2015 program_compressor ('h65,0,0,0, 2, 1,1,3); //focus mode 0 - sub dc, repetitive, mode 5 (jp46), shift 0 quality=70?
// tile mode = 1 (center of 20x20
program_compressor ('h65,0,0,1, 1, 1,0,3); //focus mode 0 - sub dc, repetitive, mode 15 (jpeg), shift 0 quality=100, JPEG
`else `else
program_compressor ('h64,0,0,0, 2, 1,0,2); //focus mode 0 - sub dc, single, mode 7 (jp46), shift 0 quality=100? program_compressor ('h64,0,0,0, 2, 1,0,2); //focus mode 0 - sub dc, single, mode 7 (jp46), shift 0 quality=100?
program_compressor ('h65,0,0,0, 2, 1,0,3); //focus mode 0 - sub dc, repetitive, mode 5 (jp46), shift 0 quality=100? program_compressor ('h65,0,0,0, 2, 1,0,3); //focus mode 0 - sub dc, repetitive, mode 5 (jp46), shift 0 quality=100?
......
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