From 95cca2dec09fde3e8fa6755d4139fcd00fc6a5aa Mon Sep 17 00:00:00 2001 From: M0stafaRady Date: Wed, 12 Oct 2022 16:06:02 -0700 Subject: [PATCH] optimize bitbang tests --- verilog/dv/cocotb/tests/bitbang/bitbang_cpu_all_0011.c | 2 +- verilog/dv/cocotb/tests/bitbang/bitbang_cpu_all_01.c | 2 +- verilog/dv/cocotb/tests/bitbang/bitbang_cpu_all_10.c | 2 +- verilog/dv/cocotb/tests/bitbang/bitbang_cpu_all_1100.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/verilog/dv/cocotb/tests/bitbang/bitbang_cpu_all_0011.c b/verilog/dv/cocotb/tests/bitbang/bitbang_cpu_all_0011.c index 28a0c4a9..404b99c3 100644 --- a/verilog/dv/cocotb/tests/bitbang/bitbang_cpu_all_0011.c +++ b/verilog/dv/cocotb/tests/bitbang/bitbang_cpu_all_0011.c @@ -49,7 +49,7 @@ void main(){ reg_mprj_io_0 = GPIO_MODE_MGMT_STD_OUTPUT; // bitbang - for(int i =0;i<19*13;i++){ + for(int i =0;i<62;i++){ clock00(); clock00(); clock11(); diff --git a/verilog/dv/cocotb/tests/bitbang/bitbang_cpu_all_01.c b/verilog/dv/cocotb/tests/bitbang/bitbang_cpu_all_01.c index 3dfb8cb3..4a884dc9 100644 --- a/verilog/dv/cocotb/tests/bitbang/bitbang_cpu_all_01.c +++ b/verilog/dv/cocotb/tests/bitbang/bitbang_cpu_all_01.c @@ -49,7 +49,7 @@ void main(){ reg_mprj_io_0 = GPIO_MODE_MGMT_STD_OUTPUT; // bitbang - for(int i =0;i<19*13;i++){ + for(int i =0;i<124;i++){ clock00(); clock11(); } diff --git a/verilog/dv/cocotb/tests/bitbang/bitbang_cpu_all_10.c b/verilog/dv/cocotb/tests/bitbang/bitbang_cpu_all_10.c index 93abbb00..4065d921 100644 --- a/verilog/dv/cocotb/tests/bitbang/bitbang_cpu_all_10.c +++ b/verilog/dv/cocotb/tests/bitbang/bitbang_cpu_all_10.c @@ -49,7 +49,7 @@ void main(){ reg_mprj_io_0 = GPIO_MODE_MGMT_STD_OUTPUT; // bitbang - for(int i =0;i<19*13;i++){ + for(int i =0;i<124;i++){ clock11(); clock00(); } diff --git a/verilog/dv/cocotb/tests/bitbang/bitbang_cpu_all_1100.c b/verilog/dv/cocotb/tests/bitbang/bitbang_cpu_all_1100.c index c6f62bb1..7211cd58 100644 --- a/verilog/dv/cocotb/tests/bitbang/bitbang_cpu_all_1100.c +++ b/verilog/dv/cocotb/tests/bitbang/bitbang_cpu_all_1100.c @@ -49,7 +49,7 @@ void main(){ reg_mprj_io_0 = GPIO_MODE_MGMT_STD_OUTPUT; // bitbang - for(int i =0;i<19*13;i++){ + for(int i =0;i<62;i++){ clock11(); clock11(); clock00();