- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
when trying to use a combinatorial custom instruction on an output to vhdl, I get needle-like impulses, which vary in width and time to each other, on an oscilloscope. This already occurs after the the .sof file is loaded into the cyc2c35 evalboard. Because of the needles an operation under c does not make sense yet. I used the following vhdl code in my design: ----- --header as in tutorials entity cust_io is port ( signal dataa: in std_logic_vector (31 downto 0); signal result: out std_logic_vector (31 downto 0); signal output: out std_logic_vector (31 downto 0) ); end cust_io; architecture interface of cust_io is signal res: std_logic_vector(31 downto 0) begin process(dataa) begin res<=dataa; result<=res; output<=res; end process; end interface; ------ The sopc builder accepted the modul without any warnings. Are the needles the result of the nios running through my vhdl code? How can one solve this problem? Thanks for your help in advance. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif andyLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should consider using a multi-cycle custom instruction instead of a combinatorial custom instruction.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by james@Apr 24 2006, 01:44 PM you should consider using a multi-cycle custom instruction instead of a combinatorial custom instruction.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14583)
--- quote end ---
--- Quote End --- I agree with you. Using a clock can keep the signal's synchrony.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page