Uzmeed Posted December 18, 2017 Report Share Posted December 18, 2017 I have attached the schematic of my systems c code To me it seems that output Serial_out is not connected to any input rather connected constantly to ground Am I right ?? schematic.pdf Quote Link to comment Share on other sites More sharing options...
David Black Posted December 18, 2017 Report Share Posted December 18, 2017 That's what the schematic says. No idea what your SystemC code looks like. Also, why would you use SystemC for RTL design? Use SystemVerilog or VHDL instead. SystemC is not suited well to RTL. Quote Link to comment Share on other sites More sharing options...
Roman Popov Posted December 18, 2017 Report Share Posted December 18, 2017 2 hours ago, David Black said: SystemC is not suited well to RTL. This is not true. We use SystemC for RTL when we need to create highly-configurable RTL IPs. Also SystemC RTL has advantage in code sharing with VPs. So for example if I write UART in SystemC I can reuse CSR code between RTL and VP. And SystemC is better for FSMs, because CTHREADs are synthesizable. Unlike Verilog/VHDL where you need to code FSM state explicitly. (This is of course Verilog/VHDL synthesis tools limitation, not languages limitation ) The only major drawback of SystemC is specifying combinatorial circuits, because SystemC has no wildcard sensitivity lists, like always @* in Verilog. Quote Link to comment Share on other sites More sharing options...
Uzmeed Posted December 19, 2017 Author Report Share Posted December 19, 2017 Hi I am very much new to system c My code is attached can you please help me that whats wrong am i doing that Serial_out is not connected to any signal I have assigned it a value in Register_Transfer.cpp Best Regards Uzmeed Output_n_nextstate.cpp Register_Transfer.cpp State_Transition.cpp UART_tx.h Quote Link to comment Share on other sites More sharing options...
Roman Popov Posted December 19, 2017 Report Share Posted December 19, 2017 If you are new to SystemC you should start with some tutorial, for example https://www.doulos.com/knowhow/systemc/tutorial/. Then learn by exploring examples bundled with SystemC kernel. SystemC standard PDF also has lots of useful information for beginners. Quote Link to comment Share on other sites More sharing options...
Uzmeed Posted December 19, 2017 Author Report Share Posted December 19, 2017 It seems to me that I am unable to take a signal from process to another right?? Quote Link to comment Share on other sites More sharing options...
Roman Popov Posted December 19, 2017 Report Share Posted December 19, 2017 18 minutes ago, Uzmeed said: It seems to me that I am unable to take a signal from process to another right?? There are no process-local signals in SystemC. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.