mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
mibuild/sim: clean up (thanks sb)
This commit is contained in:
parent
555c444da2
commit
00e8616de2
2 changed files with 22 additions and 26 deletions
|
@ -47,11 +47,7 @@ struct sim {
|
|||
clock_t end;
|
||||
float speed;
|
||||
|
||||
#ifndef WITH_SERIAL_PTY
|
||||
char rx_serial_stb;
|
||||
char rx_serial_data;
|
||||
char rx_serial_presented;
|
||||
#else
|
||||
#ifdef WITH_SERIAL_PTY
|
||||
char serial_dev[64];
|
||||
int serial_fd;
|
||||
unsigned char serial_rx_data;
|
||||
|
|
|
@ -95,7 +95,7 @@ make -j -C obj_dir/ -f Vdut.mk Vdut
|
|||
build_script_file = "build_" + build_name + ".sh"
|
||||
tools.write_to_file(build_script_file, build_script_contents, force_unix=True)
|
||||
|
||||
_build_tb(platform, serial, os.path.join("../", sim_path,"dut_tb.cpp"))
|
||||
_build_tb(platform, serial, os.path.join("..", sim_path,"dut_tb.cpp"))
|
||||
if verbose:
|
||||
r = subprocess.call(["bash", build_script_file])
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue