Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I am Prasad Pandit, BE in Electronics Engineering. I have worked on lots of FPGA and embedded system projects for foreign university students as well as some small companies.
I have 3 years of practical experience working as Freelancer in this field.
I started a blog vhdlcodes.com to help...
Hi the VHDL-2008 revision now provides Floating point calculations library from ieee both testbench and for Synthesis. I have attached a zip which contains new libraries.
The code on my site is Synthesizable. And it gives 100% output. You should try it first.
And about clock enable, u can directly add signal to my code..
My apologises to FvM. I think i was too exited. I shouldnt have done that. I made corrections now.
---------- Post added at 20:18 ---------- Previous post was at 20:09 ----------
I think the main question actually is incomplete.
you better compile it yourself first then talk. And yes, till now my codes are working perfectly using this condition. And Who said its a Asynchronous Reset, did I mentioned that?? I just initialized signal with name 'rst', it dosent mean its a reset signal.
You should read the complete code...
Its also one of the problem... u cant assign 5-bit signal to 3-bit signal. and its obvious you should use numeric_std.
I agree with FvM about the libraries support.
make these changes:
--add signal s4
begin
s1<=Din1;s2<=Din2;s3<=Din3;s4<=Din2;
with sel select
Dout<=s1 when "01",
s2 when "00" ,--remove Dout from these lines
s3 when "10",
s4 when "11",
'X' when others;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.