Re: [myhdl-list] intbv.saturate, intbv.wrap
Brought to you by:
jandecaluwe
From: <cf...@ie...> - 2008-07-10 20:29:39
|
The numpy is only used for analysis (plots etc), no numpy types are used for conversion to Verilog/VHDL. The CIC filter should convert to Verilog/VHDL just haven't got to it... -----Original Message----- From: "Blubaugh, David A." <dbl...@be...> Subj: Re: [myhdl-list] intbv.saturate, intbv.wrap Date: Thu Jul 10, 2008 8:35 am Size: 2K To: "General discussions on MyHDL" <myh...@li...> cc: "Christopher L. Felton" <cf...@ie...> Chris, Please tell us as to when you have finally generated Verilog or VHDL source code. This sounds truly interesting to have NUMPY integrated with the MyHDL environment. David -----Original Message----- From: myh...@li... [mailto:myh...@li...] On Behalf Of Christopher L. Felton Sent: Thursday, July 10, 2008 8:36 AM To: General discussions on MyHDL Subject: Re: [myhdl-list] intbv.saturate, intbv.wrap Attached is an example of the CIC filter without using 2's compliment wrapping or modulus. Adjusted the bitwidth for the maximum gain. The plot attached is of the frequency response of the filter, green is averaged input spectrum and the blue is the averaged output spectrum. You can see that after scaling the response is expected for a D=5 (comb delay = 5) cic filter. Only simulation thus far, haven't converted to Verilog or VHDL. Note, Because the comb filter is before the integrator (to help control infinite gain of the integrator, hence no wrap) cannot take advantage of inserting the decimation before the comb filter to reduced storage (# registers) for the comb. this could be a draw backs (depending on how you look at it). Also, for this implementation I had to "hack" the MyHDL space. This is a complete hack (just temporary to do what I wanted to do). Also attached are the diff's that I had to make to allow the numpy types in the generator (?). This e-mail transmission contains information that is confidential and may be privileged. It is intended only for the addressee(s) named above. If you receive this e-mail in error, please do not read, copy or disseminate it in any manner. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of this information is prohibited. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please erase it from your computer system. Your assistance in correcting this error is appreciated. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ myhdl-list mailing list myh...@li... https://lists.sourceforge.net/lists/listinfo/myhdl-list --- message truncated --- ------------------------------------- Christopher L. Felton sent from mobile email ------------------------------------- ------------------------------------- mobile email ------------------------------------- |