Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad Str attr keyword Call NameLoad Str If CompareEq NameLoad Str body AugAssignAdd NameStore Str orelse If CompareEq NameLoad Str body Pass orelse Raise NameLoad TryExcept body AugAssignAdd NameStore Call AttributeLoad Str attr keyword Call NameLoad Str Str keyword Call NameLoad Str Str keyword Call NameLoad Str Str keyword Call NameLoad Str Str keyword Call NameLoad Str Str keyword Call NameLoad Str Str handlers ExceptHandler body Pass TryExcept body AugAssignAdd NameStore Call AttributeLoad Str attr keyword Call NameLoad Str Str keyword Call NameLoad Str Str keyword Call NameLoad Str Str keyword Call NameLoad Str Str keyword Call NameLoad Str Str keyword Call NameLoad Str Str handlers ExceptHandler body Pass Assign NameStore Str Assign NameStore Call NameLoad NameLoad Str Assign NameStore NameLoad For NameStore NameLoad body AugAssignAdd NameStore NameLoad If BoolOpAnd CompareIn Str NameLoad UnaryOpNot NameLoad body AugAssignAdd NameStore NameLoad Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Str For NameStore NameLoad body AugAssignAdd NameStore BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore Call AttributeLoad Str attr keyword Str keyword NameLoad Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If CompareNotEq NameLoad Num body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str NameLoad If CompareNotEq NameLoad Num body Raise Call NameLoad Str decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str Str Str NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num attr Str Str If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore AttributeLoad NameLoad attr Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad If NameLoad body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Return AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A os N/A subprocess migen.fhdl.structure _Fragment migen.build tools migen.build.generic_platform * _build_tb N/A N/A platform vns serial template N/A N/A io_name N/A N/A resource subsignal N/A None N/A N/A res N/A N/A platform lookup_request resource N/A N/A subsignal None N/A N/A res N/A getattr res subsignal N/A N/A N/A vns get_name res N/A N/A ios N/A N/A 
#define SYS_CLK dut->{sys_clk}
 format sys_clk N/A io_name sys_clk N/A N/A serial pty N/A N/A ios #define WITH_SERIAL_PTY N/A N/A N/A serial console N/A N/A N/A N/A ValueError N/A N/A N/A ios N/A N/A 
#define SERIAL_SOURCE_STB dut->{serial_source_stb}
#define SERIAL_SOURCE_ACK dut->{serial_source_ack}
#define SERIAL_SOURCE_DATA   dut->{serial_source_data}

#define SERIAL_SINK_STB dut->{serial_sink_stb}
#define SERIAL_SINK_ACK dut->{serial_sink_ack}
#define SERIAL_SINK_DATA   dut->{serial_sink_data}
 format serial_source_stb N/A io_name serial source_stb serial_source_ack N/A io_name serial source_ack serial_source_data N/A io_name serial source_data serial_sink_stb N/A io_name serial sink_stb serial_sink_ack N/A io_name serial sink_ack serial_sink_data N/A io_name serial sink_data N/A N/A N/A N/A N/A N/A N/A ios N/A N/A 
#define ETH_SOURCE_STB        dut->{eth_source_stb}
#define ETH_SOURCE_ACK        dut->{eth_source_ack}
#define ETH_SOURCE_DATA        dut->{eth_source_data}

#define ETH_SINK_STB        dut->{eth_sink_stb}
#define ETH_SINK_ACK        dut->{eth_sink_ack}
#define ETH_SINK_DATA    dut->{eth_sink_data}
 format eth_source_stb N/A io_name eth source_stb eth_source_ack N/A io_name eth source_ack eth_source_data N/A io_name eth source_data eth_sink_stb N/A io_name eth sink_stb eth_sink_ack N/A io_name eth sink_ack eth_sink_data N/A io_name eth sink_data N/A N/A N/A N/A N/A content N/A f N/A open template r N/A done False N/A l f N/A N/A content l N/A N/A N/A /* ios */ l N/A done N/A N/A content ios N/A done True N/A N/A N/A f close N/A N/A N/A tools write_to_file dut_tb.cpp content N/A _build_sim N/A N/A platform vns build_name include_paths sim_path serial verbose N/A N/A N/A include N/A path include_paths N/A N/A include N/A N/A -I path N/A build_script_contents N/A N/A # Autogenerated by Migen
    rm -rf obj_dir/
verilator {disable_warnings} -O3 --cc dut.v --exe dut_tb.cpp -LDFLAGS "-lpthread" -trace {include}
make -j -C obj_dir/ -f Vdut.mk Vdut

 format disable_warnings -Wno-fatal include include N/A build_script_file N/A N/A build_ build_name .sh N/A N/A N/A tools write_to_file build_script_file build_script_contents force_unix True N/A N/A _build_tb platform vns serial N/A N/A N/A os path join .. sim_path dut_tb.cpp N/A verbose N/A N/A r N/A N/A subprocess call N/A bash build_script_file N/A N/A r N/A N/A subprocess call N/A bash build_script_file stdout N/A subprocess DEVNULL stderr N/A subprocess STDOUT N/A N/A r 0 N/A N/A N/A OSError Subprocess failed N/A _run_sim N/A N/A build_name N/A N/A N/A run_script_contents obj_dir/Vdut
 N/A run_script_file N/A N/A run_ build_name .sh N/A N/A N/A tools write_to_file run_script_file run_script_contents force_unix True N/A r N/A N/A subprocess call N/A bash run_script_file N/A N/A r 0 N/A N/A N/A OSError Subprocess failed N/A SimVerilatorToolchain N/A N/A build N/A N/A self platform fragment build_dir build_name sim_path serial run verbose N/A build top ../migen/migen/build/sim/ console True False N/A N/A N/A N/A tools mkdir_noerror build_dir N/A N/A N/A os chdir build_dir N/A N/A N/A isinstance fragment _Fragment N/A N/A fragment N/A N/A fragment get_fragment N/A N/A N/A platform finalize fragment N/A v_output N/A N/A platform get_verilog fragment N/A N/A named_sc named_pc N/A N/A platform resolve_signals N/A v_output ns N/A N/A N/A v_output write dut.v N/A include_paths N/A N/A source N/A platform sources N/A N/A path N/A N/A N/A N/A N/A os path dirname N/A source N/A 0 replace \ \/ N/A N/A path include_paths N/A N/A N/A N/A include_paths append path N/A include_paths N/A platform verilog_include_paths N/A N/A _build_sim platform N/A v_output ns build_name include_paths sim_path serial verbose N/A run N/A N/A N/A _run_sim build_name N/A N/A N/A os chdir .. N/A N/A v_output ns N/A N/A