Jump to content

Uzmeed

Members
  • Content Count

    16
  • Joined

  • Last visited

  1. will u please guide that why the value of PS_reg is not assigned to Lout in convert.cpp
  2. Hi Attached is the code for parallel to serial and serial to parallel conversion i have two problems in converter.cpp 1- count is not incrementing the value 2- Lout is not getting value of PS_reg in SPPS48 i am getting the following error ./../../SPPS48.h: In constructor 'SPPS48::SPPS48(sc_core::sc_module_name)': ../../../SPPS48.h:51:9: error: 'struct SPPS48' has no member named 'M1' ../../../SPPS48.h:51:16: error: expected type-specifier before 'SPPS' ../../../SPPS48.h:51:16: error: expected ';' before 'SPPS' ../../../SPPS48.h:52:3: error: 'M1' wa
  3. Thanks Ralph Can you please guide me that how can I convert the sc_fifo signal to simple bus( i know that is not the topic)
  4. I have to input data from sc_fifo interface and send it on the master of simple bus that will in return give it to simple bus slave Any idea how the simple_bus.h can be exploited I will be highly obliged for the valuable advice regards
  5. Thanx David I am doing my MS and studying the course of reconfigurable computing . I admitt that i have to study C before system C but compulsion of doing projects in system C forces me to seek advice . However I am trying my level best Any way thanks ur advice solved my problem
  6. main.cpp is just for running the simulation otherwise the tool does not simulate I am bound to develop the code in vivado HLS :(
  7. Thanks Ameya I was adding these guards but in cmd.h only adding to both cmd.h and arith.h worked moreover file.h = cmd.h i just change the name to see if trhere any conflict with name or not One more thing please I am also getrting the following error you can also see that in the log i attached previously C:/Xilinx/Vivado_HLS/2015.4/win64/tools/systemc/include/sysc/communication/sc_fifo.h: In member function 'void sc_core::sc_fifo<T>::print(std::ostream&) const [with T = cmd, std::ostream = std::basic_ostream<char>]': ../../../main.cpp:
  8. I am going to simulate the following code but getting the error I am newbie to systemc (in fact C) your valuable input will help me to understand the error arith.h arith_proc.cpp cmd.h result_proc.cpp write_result.cpp Simple_Bus_csim.log
  9. Hi I have to design an adapter that carry the data from sc_fifo interface to simple_bus. Can anyone please help from where can I start. I am unable to find anything perticular regards Uzmeed
  10. After making some changes now i am getting the following error the project is attached your immediate response id highly regarded @E [HLS-70] In file included from C:/Users/Home/UART_rx/UART_rx/solution1/.autopilot/db/Output_n_nextstate.pragma.1.cpp:1: In file included from UART_rx/Output_n_nextstate.cpp:1: In file included from UART_rx/Output_n_nextstate.cpp:1: In file included from C:/Xilinx/Vivado_HLS/2015.4/common/technology/autopilot/ap_sysc\systemc.h:1: In file included from C:/Xilinx/Vivado_HLS/2015.4/common/technology/autopilot/ap_sysc/ap_systemc.h:51:
  11. It seems to me that I am unable to take a signal from process to another right??
  12. 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
  13. 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
  14. Thanks Ralph It worked Best Regards Uzmeed
  15. Hi David All my code is attached main.cpp Output_n_nextstate.cpp Register_Transfer.cpp State_Transition.cpp UART_tx.h
×
×
  • Create New...