Skip to content

Commit b1699b8

Browse files
committed
Merge remote-tracking branch 'origin/feature-tlm_vga_ams' into jvillalobos/Sobel_Virtual_Prototype
2 parents 0f48930 + c1de6e8 commit b1699b8

File tree

13 files changed

+476
-57
lines changed

13 files changed

+476
-57
lines changed

modules/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,12 @@ FILTER_DIR=../filter
2929
UNIFICATION_DIR=../unification
3030
COMPRESSION_DIR=../compression
3131
ETHERNET_DIR=../ethernetAMS
32+
VGA_DIR=../vga
33+
ADC_DIR=../adc
34+
UTILS_DIR=../utils
3235

33-
SRCDIRS=$(SRCDIR) $(EDGE_DIR)/src $(GRAY_DIR)/src $(FILTER_DIR)/src $(UNIFICATION_DIR)/src $(COMPRESSION_DIR)/src $(ETHERNET_DIR)/src
34-
INCDIR+=-I$(EDGE_DIR)/include -I$(GRAY_DIR)/include -I$(FILTER_DIR)/include -I$(UNIFICATION_DIR)/include -I$(COMPRESSION_DIR)/include -I$(ETHERNET_DIR)/include
36+
SRCDIRS=$(SRCDIR) $(EDGE_DIR)/src $(GRAY_DIR)/src $(FILTER_DIR)/src $(UNIFICATION_DIR)/src $(COMPRESSION_DIR)/src $(ETHERNET_DIR)/src $(VGA_DIR)/src $(ADC_DIR)/src $(UTILS_DIR)/src
37+
INCDIR+=-I$(EDGE_DIR)/include -I$(GRAY_DIR)/include -I$(FILTER_DIR)/include -I$(UNIFICATION_DIR)/include -I$(COMPRESSION_DIR)/include -I$(ETHERNET_DIR)/include -I$(VGA_DIR)/include -I$(ADC_DIR)/include -I$(UTILS_DIR)/include
3538
endif # USING_TLM_TB_EN
3639

3740
ifdef INCLUDE_OPENCV

modules/adc/src/tb_adc.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#ifndef USING_TLM_TB_EN
12
#include <systemc-ams.h>
23
#include "adc.hpp"
34
#include "seq_item_adc.hpp"
@@ -43,3 +44,4 @@ int sc_main(int, char*[])
4344

4445
return 0;
4546
};
47+
#endif // USING_TLM_TB_EN

modules/edge-detector/include/address_map.hpp

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,69 +45,81 @@
4545
#define IMG_INPUT_ADDRESS_LO (CUSTOM_HW_MEMORY_OFFSET + IMG_INPUT_OFFSET)
4646
#define IMG_INPUT_ADDRESS_HI (IMG_INPUT_ADDRESS_LO + IMG_INPUT_SIZE)
4747

48+
//Img Start
49+
#define IMG_INPUT_START_OFFSET 0x000E103Cu
50+
#define IMG_INPUT_START_SIZE 4
51+
#define IMG_INPUT_START_ADDRESS_LO (CUSTOM_HW_MEMORY_OFFSET + IMG_INPUT_START_OFFSET)
52+
#define IMG_INPUT_START_ADDRESS_HI (IMG_INPUT_START_ADDRESS_LO + IMG_INPUT_START_SIZE)
53+
54+
//Img Done
55+
#define IMG_INPUT_DONE_OFFSET 0x000E1040u
56+
#define IMG_INPUT_DONE_SIZE 4
57+
#define IMG_INPUT_DONE_ADDRESS_LO (CUSTOM_HW_MEMORY_OFFSET + IMG_INPUT_DONE_OFFSET)
58+
#define IMG_INPUT_DONE_ADDRESS_HI (IMG_INPUT_DONE_ADDRESS_LO + IMG_INPUT_DONE_SIZE)
59+
4860
//Img In Process A
49-
#define IMG_INPROCESS_A_OFFSET 0x000E103Cu
61+
#define IMG_INPROCESS_A_OFFSET 0x000E1044u
5062
#define IMG_INPROCESS_A_SIZE 307200
5163
#define IMG_INPROCESS_A_ADDRESS_LO (CUSTOM_SW_MEMORY_OFFSET + IMG_INPROCESS_A_OFFSET)
5264
#define IMG_INPROCESS_A_ADDRESS_HI (IMG_INPROCESS_A_ADDRESS_LO + IMG_INPROCESS_A_SIZE)
5365

5466
//Img In Process B
55-
#define IMG_INPROCESS_B_OFFSET 0x0012C03Cu
67+
#define IMG_INPROCESS_B_OFFSET 0x0012C044u
5668
#define IMG_INPROCESS_B_SIZE 614400
5769
#define IMG_INPROCESS_B_ADDRESS_LO (CUSTOM_SW_MEMORY_OFFSET + IMG_INPROCESS_B_OFFSET)
5870
#define IMG_INPROCESS_B_ADDRESS_HI (IMG_INPROCESS_B_ADDRESS_LO + IMG_INPROCESS_B_SIZE)
5971

6072
//Img In Process C
61-
#define IMG_INPROCESS_C_OFFSET 0x001C203Cu
73+
#define IMG_INPROCESS_C_OFFSET 0x001C2044u
6274
#define IMG_INPROCESS_C_SIZE 614400
6375
#define IMG_INPROCESS_C_ADDRESS_LO (CUSTOM_SW_MEMORY_OFFSET + IMG_INPROCESS_C_OFFSET)
6476
#define IMG_INPROCESS_C_ADDRESS_HI (IMG_INPROCESS_C_ADDRESS_LO + IMG_INPROCESS_C_SIZE)
6577

6678
//Img In Process D
67-
#define IMG_INPROCESS_D_OFFSET 0x0025803Cu
79+
#define IMG_INPROCESS_D_OFFSET 0x00258044u
6880
#define IMG_INPROCESS_D_SIZE 307200
6981
#define IMG_INPROCESS_D_ADDRESS_LO (CUSTOM_SW_MEMORY_OFFSET + IMG_INPROCESS_D_OFFSET)
7082
#define IMG_INPROCESS_D_ADDRESS_HI (IMG_INPROCESS_D_ADDRESS_LO + IMG_INPROCESS_D_SIZE)
7183

7284
// Img Output
73-
#define IMG_OUTPUT_OFFSET 0x002A303Cu
85+
#define IMG_OUTPUT_OFFSET 0x002A3044u
7486
#define IMG_OUTPUT_SIZE 307200
7587
#define IMG_OUTPUT_ADDRESS_LO (CUSTOM_HW_MEMORY_OFFSET + IMG_OUTPUT_OFFSET)
7688
#define IMG_OUTPUT_ADDRESS_HI (IMG_OUTPUT_ADDRESS_LO + IMG_OUTPUT_SIZE)
7789

7890
// Img Output Size
79-
#define IMG_OUTPUT_SIZE_OFFSET 0x002EE03Cu
91+
#define IMG_OUTPUT_SIZE_OFFSET 0x002EE044u
8092
#define IMG_OUTPUT_SIZE_SIZE 4
8193
#define IMG_OUTPUT_SIZE_ADDRESS_LO (CUSTOM_HW_MEMORY_OFFSET + IMG_OUTPUT_SIZE_OFFSET)
8294
#define IMG_OUTPUT_SIZE_ADDRESS_HI (IMG_OUTPUT_SIZE_ADDRESS_LO + IMG_OUTPUT_SIZE_SIZE)
8395

8496
// Img Output Done
85-
#define IMG_OUTPUT_DONE_OFFSET 0x002EE040u
97+
#define IMG_OUTPUT_DONE_OFFSET 0x002EE048u
8698
#define IMG_OUTPUT_DONE_SIZE 4
8799
#define IMG_OUTPUT_DONE_ADDRESS_LO (CUSTOM_HW_MEMORY_OFFSET + IMG_OUTPUT_DONE_OFFSET)
88100
#define IMG_OUTPUT_DONE_ADDRESS_HI (IMG_OUTPUT_DONE_ADDRESS_LO + IMG_OUTPUT_DONE_SIZE)
89101

90102
// Img Output Status
91-
#define IMG_OUTPUT_STATUS_OFFSET 0x002EE044u
103+
#define IMG_OUTPUT_STATUS_OFFSET 0x002EE04Cu
92104
#define IMG_OUTPUT_STATUS_SIZE 4
93105
#define IMG_OUTPUT_STATUS_ADDRESS_LO (CUSTOM_HW_MEMORY_OFFSET + IMG_OUTPUT_STATUS_OFFSET)
94106
#define IMG_OUTPUT_STATUS_ADDRESS_HI (IMG_OUTPUT_STATUS_ADDRESS_LO + IMG_OUTPUT_STATUS_SIZE)
95107

96108
// Img Saver ID
97-
#define IMG_SAVER_ID_OFFSET 0x002EE048u
109+
#define IMG_SAVER_ID_OFFSET 0x002EE050u
98110
#define IMG_SAVER_ID_SIZE 4
99111
#define IMG_SAVER_ID_ADDRESS_LO (CUSTOM_HW_MEMORY_OFFSET + IMG_SAVER_ID_OFFSET)
100112
#define IMG_SAVER_ID_ADDRESS_HI (IMG_SAVER_ID_ADDRESS_LO + IMG_SAVER_ID_SIZE)
101113

102114
// Img Saver Start
103-
#define IMG_SAVER_START_OFFSET 0x002EE04Cu
115+
#define IMG_SAVER_START_OFFSET 0x002EE054u
104116
#define IMG_SAVER_START_SIZE 4
105117
#define IMG_SAVER_START_ADDRESS_LO (CUSTOM_HW_MEMORY_OFFSET + IMG_SAVER_START_OFFSET)
106118
#define IMG_SAVER_START_ADDRESS_HI (IMG_SAVER_START_ADDRESS_LO + IMG_SAVER_START_SIZE)
107119

108120
//Memory Definition
109-
#define MEMORY_OFFSET (IMG_INPUT_OFFSET)
110-
#define MEMORY_SIZE (IMG_INPUT_SIZE + IMG_INPROCESS_A_SIZE + IMG_INPROCESS_B_SIZE + IMG_INPROCESS_C_SIZE + IMG_INPROCESS_D_SIZE)
121+
#define MEMORY_OFFSET (IMG_INPROCESS_A_OFFSET)
122+
#define MEMORY_SIZE (IMG_INPROCESS_A_SIZE + IMG_INPROCESS_B_SIZE + IMG_INPROCESS_C_SIZE + IMG_INPROCESS_D_SIZE)
111123
#define MEMORY_ADDRESS_LO (CUSTOM_HW_MEMORY_OFFSET + MEMORY_OFFSET)
112124
#define MEMORY_ADDRESS_HI (MEMORY_ADDRESS_LO + MEMORY_SIZE)
113125

modules/router/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ ifdef DISABLE_ROUTER_DEBUG
7474
LFLAGS += -DDISABLE_ROUTER_DEBUG
7575
endif # DISABLE_ROUTER_DEBUG
7676

77+
ifdef DISABLE_VGA_DEBUG
78+
CFLAGS += -DDISABLE_VGA_DEBUG
79+
LFLAGS += -DDISABLE_VGA_DEBUG
80+
endif # DISABLE_VGA_DEBUG
81+
7782
ifdef DISABLE_FILTER_DEBUG
7883
CFLAGS += -DDISABLE_FILTER_DEBUG
7984
LFLAGS += -DDISABLE_FILTER_DEBUG

modules/router/include/important_defines.hpp

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,44 @@
1616
#define IPS_OUT_TYPE_TB float
1717
#endif // IPS_OUT_TYPE_TB
1818

19+
// VGA settings
20+
#ifndef IPS_H_ACTIVE
21+
#define IPS_H_ACTIVE 640
22+
#endif // IPS_H_ACTIVE
23+
#ifndef IPS_H_FP
24+
#define IPS_H_FP 16
25+
#endif // IPS_H_FP
26+
#ifndef IPS_H_SYNC_PULSE
27+
#define IPS_H_SYNC_PULSE 96
28+
#endif // IPS_H_SYNC_PULSE
29+
#ifndef IPS_H_BP
30+
#define IPS_H_BP 48
31+
#endif // IPS_H_BP
32+
#ifndef IPS_V_ACTIVE
33+
#define IPS_V_ACTIVE 480
34+
#endif // IPS_V_ACTIVE
35+
#ifndef IPS_V_FP
36+
#define IPS_V_FP 10
37+
#endif // IPS_V_FP
38+
#ifndef IPS_V_SYNC_PULSE
39+
#define IPS_V_SYNC_PULSE 2
40+
#endif // IPS_V_SYNC_PULSE
41+
#ifndef IPS_V_BP
42+
#define IPS_V_BP 33
43+
#endif // IPS_V_BP
44+
// Compute the total number of pixels
45+
#define IPS_TOTAL_VERTICAL (IPS_H_ACTIVE + IPS_H_FP + IPS_H_SYNC_PULSE + IPS_H_BP)
46+
#define IPS_TOTAL_HORIZONTAL (IPS_V_ACTIVE + IPS_V_FP + IPS_V_SYNC_PULSE + IPS_V_BP)
47+
#define IPS_TOTAL_PIXELES (IPS_TOTAL_VERTICAL * IPS_TOTAL_HORIZONTAL)
48+
// Number of bits for ADC, DAC and VGA
49+
#ifndef IPS_BITS
50+
#define IPS_BITS 8
51+
#endif // IPS_BITS
52+
#ifndef IPS_VOLTAGE_MIN
53+
#define IPS_VOLTAGE_MIN 0
54+
#endif // IPS_VOLTAGE_MIN
55+
#ifndef IPS_VOLTAGE_MAX
56+
#define IPS_VOLTAGE_MAX 3300
57+
#endif // IPS_VOLTAGE_MAX
58+
1959
#endif // IMPORTANT_DEFINES_HPP
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
#ifndef IPS_SEQ_ITEM_VGA_HPP
2+
#define IPS_SEQ_ITEM_VGA_HPP
3+
4+
#define int64 systemc_int64
5+
#define uint64 systemc_uint64
6+
#include <systemc.h>
7+
#include <systemc-ams.h>
8+
#undef int64
9+
#undef uint64
10+
#define int64 opencv_int64
11+
#define uint64 opencv_uint64
12+
#include <opencv2/opencv.hpp>
13+
#undef int64
14+
#undef uint64
15+
16+
#include "vunit.hpp"
17+
18+
// Image path
19+
#define IPS_IMG_PATH_TB "../../tools/datagen/src/imgs/car_rgb_noisy_image.jpg"
20+
21+
/**
22+
* @brief This class is used to generate the data for the AMS test
23+
*
24+
* @tparam BITS - the number of output bits of the digital pixel
25+
* @tparam H_ACTIVE - output horizontal active video pixels
26+
* @tparam H_FP - wait after the display period before the sync
27+
* horizontal pulse
28+
* @tparam H_SYNC_PULSE - assert HSYNC
29+
* @tparam H_BP - wait after the sync horizontal pulse before starting
30+
* the next display period
31+
* @tparam V_ACTIVE - output vertical active video pixels
32+
* @tparam V_FP - wait after the display period before the sync
33+
* vertical pulse
34+
* @tparam V_SYNC_PULSE - assert VSYNC
35+
* @tparam V_BP - wait after the sync vertical pulse before starting
36+
* the next display period
37+
*/
38+
template <
39+
unsigned int BITS = 8,
40+
unsigned int H_ACTIVE = 640,
41+
unsigned int H_FP = 16,
42+
unsigned int H_SYNC_PULSE = 96,
43+
unsigned int H_BP = 48,
44+
unsigned int V_ACTIVE = 480,
45+
unsigned int V_FP = 10,
46+
unsigned int V_SYNC_PULSE = 2,
47+
unsigned int V_BP = 33,
48+
int VMIN = 0,
49+
int VMAX = 5,
50+
VUnit VU = VUnit::v>
51+
SCA_TDF_MODULE(seq_item_vga)
52+
{
53+
protected:
54+
cv::Mat tx_img;
55+
// Min voltage value based on the voltage units
56+
const double V_MIN = static_cast<double>(VMIN) / static_cast<double>(VU);
57+
// Max voltage value based on the voltage units
58+
const double V_MAX = static_cast<double>(VMAX) / static_cast<double>(VU);
59+
// Max digital output code
60+
const double MAX_DIG = static_cast<double>((1 << BITS) - 1);
61+
62+
public:
63+
// Counters
64+
sca_tdf::sca_de::sca_in<unsigned int> hcount;
65+
sca_tdf::sca_de::sca_in<unsigned int> vcount;
66+
// Output pixel
67+
sca_tdf::sca_out<double> o_red;
68+
sca_tdf::sca_out<double> o_green;
69+
sca_tdf::sca_out<double> o_blue;
70+
71+
SC_CTOR(seq_item_vga)
72+
{
73+
// Read image
74+
const std::string img_path = IPS_IMG_PATH_TB;
75+
76+
cv::Mat read_img = cv::imread(img_path, cv::IMREAD_COLOR);
77+
78+
// CV_8UC3 Type: 8-bit unsigned, 3 channels (e.g., for a color image)
79+
read_img.convertTo(this->tx_img, CV_8UC3);
80+
81+
// Check if the image is loaded successfully
82+
if (this->tx_img.empty())
83+
{
84+
std::cerr << "Error: Could not open or find the image!" << std::endl;
85+
exit(EXIT_FAILURE);
86+
}
87+
}
88+
89+
void set_attributes()
90+
{
91+
// Propagation time from input to output
92+
set_timestep(sca_core::sca_time(1, sc_core::SC_NS));
93+
this->o_red.set_delay(17);
94+
this->o_green.set_delay(17);
95+
this->o_blue.set_delay(17);
96+
}
97+
98+
void processing()
99+
{
100+
const int IMG_ROW = static_cast<int>(this->vcount.read()) - (V_SYNC_PULSE + V_BP);
101+
const int IMG_COL = static_cast<int>(this->hcount.read()) - (H_SYNC_PULSE + H_BP);
102+
103+
if ((IMG_ROW < 0) || (IMG_COL < 0) || (IMG_ROW >= static_cast<int>(V_ACTIVE)) || (IMG_COL >= static_cast<int>(H_ACTIVE)))
104+
{
105+
this->o_red.write(0.0);
106+
this->o_green.write(0.0);
107+
this->o_blue.write(0.0);
108+
}
109+
else
110+
{
111+
if ((IMG_ROW >= this->tx_img.rows) || (IMG_COL >= this->tx_img.cols))
112+
{
113+
this->o_red.write(0.0);
114+
this->o_green.write(0.0);
115+
this->o_blue.write(0.0);
116+
}
117+
else
118+
{
119+
cv::Vec3b pixel = tx_img.at<cv::Vec3b>(IMG_ROW, IMG_COL, 0);
120+
121+
this->o_red.write(sc_uint2double(static_cast<sc_uint<BITS>>(pixel[0])));
122+
this->o_green.write(sc_uint2double(static_cast<sc_uint<BITS>>(pixel[1])));
123+
this->o_blue.write(sc_uint2double(static_cast<sc_uint<BITS>>(pixel[2])));
124+
}
125+
}
126+
}
127+
128+
/**
129+
* @brief Convert the digital signal into analog signal
130+
* The N-bit digital code is converted into an analog signal in a voltage
131+
* range from Vmin to Vmax
132+
*/
133+
double sc_uint2double(sc_uint<BITS> in)
134+
{
135+
double dig_in = static_cast<double>(in);
136+
return V_MIN + (dig_in / MAX_DIG) * (V_MAX - V_MIN);
137+
}
138+
};
139+
#endif // IPS_SEQ_ITEM_VGA_HPP

modules/router/include/vga_tlm.hpp

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
#ifndef IPS_VGA_TLM_HPP
2+
#define IPS_VGA_TLM_HPP
3+
#include <systemc.h>
4+
using namespace sc_core;
5+
using namespace sc_dt;
6+
using namespace std;
7+
8+
#include <tlm.h>
9+
#include <tlm_utils/simple_initiator_socket.h>
10+
#include <tlm_utils/simple_target_socket.h>
11+
#include <tlm_utils/peq_with_cb_and_phase.h>
12+
13+
#include "common_func.hpp"
14+
#include "important_defines.hpp"
15+
#include "vga.hpp"
16+
#include "../src/img_target.cpp"
17+
18+
// Extended Unification TLM
19+
struct vga_tlm
20+
: public vga<
21+
IPS_BITS,
22+
IPS_H_ACTIVE, IPS_H_FP, IPS_H_SYNC_PULSE, IPS_H_BP,
23+
IPS_V_ACTIVE, IPS_V_FP, IPS_V_SYNC_PULSE, IPS_V_BP
24+
>, public img_target
25+
{
26+
protected:
27+
unsigned char* tmp_img;
28+
public:
29+
vga_tlm(sc_module_name name)
30+
: vga<
31+
IPS_BITS,
32+
IPS_H_ACTIVE, IPS_H_FP, IPS_H_SYNC_PULSE, IPS_H_BP,
33+
IPS_V_ACTIVE, IPS_V_FP, IPS_V_SYNC_PULSE, IPS_V_BP>((std::string(name) + "_HW_block").c_str()),
34+
img_target((std::string(name) + "_target").c_str())
35+
{
36+
#ifdef DISABLE_VGA_DEBUG
37+
this->use_prints = false;
38+
#endif // DISABLE_VGA_DEBUG
39+
checkprintenableimgtar(use_prints);
40+
}
41+
42+
// Override do_when_transaction functions
43+
virtual void do_when_read_transaction(unsigned char *&data, unsigned int data_length, sc_dt::uint64 address);
44+
virtual void do_when_write_transaction(unsigned char *&data, unsigned int data_length, sc_dt::uint64 address);
45+
};
46+
#endif // IPS_VGA_TLM_HPP

modules/router/run_all.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ case $1 in
55
make INCLUDE_OPENCV_PKG=1 RGB2GRAY_PV_EN=1 IPS_FILTER_LT_EN=1 EDGE_DETECTOR_AT_EN=1 IMG_UNIFICATE_PV_EN=1 IPS_JPG_PV_EN=1 USING_TLM_TB_EN=1 all > output.log
66
;;
77
"save_log_no_dbg")
8-
make INCLUDE_OPENCV_PKG=1 RGB2GRAY_PV_EN=1 IPS_FILTER_LT_EN=1 EDGE_DETECTOR_AT_EN=1 IMG_UNIFICATE_PV_EN=1 IPS_JPG_PV_EN=1 USING_TLM_TB_EN=1 DISABLE_ROUTER_DEBUG=1 DISABLE_FILTER_DEBUG=1 DISABLE_MEM_DEBUG=1 DISABLE_RGB_DEBUG=1 DISABLE_SOBEL_DEBUG=1 DISABLE_PACKET_GENERATOR_DEBUG=1 DISABLE_TB_DEBUG=1 all > output.log
8+
make INCLUDE_OPENCV_PKG=1 RGB2GRAY_PV_EN=1 IPS_FILTER_LT_EN=1 EDGE_DETECTOR_AT_EN=1 IMG_UNIFICATE_PV_EN=1 IPS_JPG_PV_EN=1 USING_TLM_TB_EN=1 DISABLE_ROUTER_DEBUG=1 DISABLE_VGA_DEBUG=1 DISABLE_FILTER_DEBUG=1 DISABLE_MEM_DEBUG=1 DISABLE_RGB_DEBUG=1 DISABLE_SOBEL_DEBUG=1 DISABLE_PACKET_GENERATOR_DEBUG=1 DISABLE_TB_DEBUG=1 all > output.log
99
;;
1010
"print_all")
1111
make INCLUDE_OPENCV_PKG=1 RGB2GRAY_PV_EN=1 IPS_FILTER_LT_EN=1 EDGE_DETECTOR_AT_EN=1 IMG_UNIFICATE_PV_EN=1 IPS_JPG_PV_EN=1 USING_TLM_TB_EN=1 print-all
1212
;;
1313
"compile")
14-
make INCLUDE_OPENCV_PKG=1 RGB2GRAY_PV_EN=1 IPS_FILTER_LT_EN=1 EDGE_DETECTOR_AT_EN=1 IMG_UNIFICATE_PV_EN=1 IPS_JPG_PV_EN=1 USING_TLM_TB_EN=1 DISABLE_ROUTER_DEBUG=1 DISABLE_FILTER_DEBUG=1 DISABLE_MEM_DEBUG=1 DISABLE_RGB_DEBUG=1 DISABLE_SOBEL_DEBUG=1 DISABLE_PACKET_GENERATOR_DEBUG=1 DISABLE_TB_DEBUG=1 compile
14+
make INCLUDE_OPENCV_PKG=1 RGB2GRAY_PV_EN=1 IPS_FILTER_LT_EN=1 EDGE_DETECTOR_AT_EN=1 IMG_UNIFICATE_PV_EN=1 IPS_JPG_PV_EN=1 USING_TLM_TB_EN=1 DISABLE_ROUTER_DEBUG=1 DISABLE_VGA_DEBUG=1 DISABLE_FILTER_DEBUG=1 DISABLE_MEM_DEBUG=1 DISABLE_RGB_DEBUG=1 DISABLE_SOBEL_DEBUG=1 DISABLE_PACKET_GENERATOR_DEBUG=1 DISABLE_TB_DEBUG=1 compile
1515
;;
1616
"router_tb")
1717
make INCLUDE_OPENCV_PKG=1 RGB2GRAY_PV_EN=1 EDGE_DETECTOR_AT_EN=1 USING_TLM_ROUTER_TB_EN=1 USING_TLM_TB_EN=1 all > output.log
@@ -20,6 +20,6 @@ case $1 in
2020
make INCLUDE_OPENCV_PKG=1 RGB2GRAY_PV_EN=1 EDGE_DETECTOR_AT_EN=1 USING_TLM_ROUTER_TB_EN=1 USING_TLM_TB_EN=1 all > output.log
2121
;;
2222
*)
23-
make INCLUDE_OPENCV_PKG=1 RGB2GRAY_PV_EN=1 IPS_FILTER_LT_EN=1 EDGE_DETECTOR_AT_EN=1 IMG_UNIFICATE_PV_EN=1 IPS_JPG_PV_EN=1 USING_TLM_TB_EN=1 DISABLE_ROUTER_DEBUG=1 DISABLE_FILTER_DEBUG=1 DISABLE_MEM_DEBUG=1 DISABLE_RGB_DEBUG=1 DISABLE_SOBEL_DEBUG=1 DISABLE_PACKET_GENERATOR_DEBUG=1 DISABLE_TB_DEBUG=1 all
23+
make INCLUDE_OPENCV_PKG=1 RGB2GRAY_PV_EN=1 IPS_FILTER_LT_EN=1 EDGE_DETECTOR_AT_EN=1 IMG_UNIFICATE_PV_EN=1 IPS_JPG_PV_EN=1 USING_TLM_TB_EN=1 DISABLE_ROUTER_DEBUG=1 DISABLE_VGA_DEBUG=1 DISABLE_FILTER_DEBUG=1 DISABLE_MEM_DEBUG=1 DISABLE_RGB_DEBUG=1 DISABLE_SOBEL_DEBUG=1 DISABLE_PACKET_GENERATOR_DEBUG=1 DISABLE_TB_DEBUG=1 all
2424
;;
2525
esac

0 commit comments

Comments
 (0)