Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers

Mm74hc154 Fpga

Altera_Forum
Honored Contributor II
1,678 Views

hi friends 

im doing a project on MM74HC154 FPGA 4-to-16 line decoder 

 

i need some ideas and informations... 

 

waiting for your replies 

 

 

shimaz
0 Kudos
16 Replies
Altera_Forum
Honored Contributor II
959 Views

Moin, 

 

 

--- Quote Start ---  

im doing a project on MM74HC154 FPGA 4-to-16 line decoder 

--- Quote End ---  

 

Nice chip - not as complex as the Altera FPGAs :rolleyes:  

 

 

--- Quote Start ---  

i need some ideas and informations... 

--- Quote End ---  

 

 

Here you are: 

http://www.lmgtfy.com/?q=mm74hc154 

 

Cheers, 

WK
0 Kudos
Altera_Forum
Honored Contributor II
959 Views

@shimaz 

 

This looks like an initial course assignment... 

 

 

--- Quote Start ---  

 

im doing a project on MM74HC154 FPGA 4-to-16 line decoder 

 

--- Quote End ---  

 

 

You can specify this as a schematic, VHDL or Verilog. Here is (one of the many possible) way(s) how you can do this in Verilog... 

 

 

module MM74HC154(a, b, c, d, g1, g2, out); input a, b, c, d, g1, g2; output reg out; integer i; always @(a, b, c, d, g1, g2) if (g1 || g2) out = 16'bzzzzzzzzzzzzzzzz; else for (i = 0; i < 16; i = i + 1) out = ({d, c, b, a} == i) ? 1'b0 : 1'b1; endmodule  

Have fun learing FPGA design.
0 Kudos
Altera_Forum
Honored Contributor II
959 Views

thanks friend.. 

is this coding for verilog or VHDL... 

your dam good in programming..how can i learn programming... 

 

waitng for your repy 

 

shimaz
0 Kudos
Altera_Forum
Honored Contributor II
959 Views

This is Verilog. There are many verilog tutorials on the web (http://lmgtfy.com/?q=verilog+tutorial).

0 Kudos
Altera_Forum
Honored Contributor II
959 Views

sanmao your helping me a lot..i dont know how to thank you..ill write about you in my preface of the project 

how about the VHDL codings...
0 Kudos
Altera_Forum
Honored Contributor II
959 Views

There are also many vhdl tutorials on the net (http://www.lmgtfy.com/?q=vhdl+tutorial).

0 Kudos
Altera_Forum
Honored Contributor II
959 Views

can you give me the exact link for the vhdl

0 Kudos
Altera_Forum
Honored Contributor II
959 Views

If you are new to VHDL the best is to buy a good book. This is important as designing hardware in VHDL or Verilog is quite different than programming in C/C++ or Java. 

 

There are many good books out there on VHDL and Verilog. 

 

If you are interested in learning VHDL, I can recommend : "the designer's guide to vhdl (http://www.ashenden.com.au/vhdl-book/dg3e.html)" from Peter Ashenden.
0 Kudos
Altera_Forum
Honored Contributor II
959 Views

in this book do i get the information to do the verilog programing for MM74HC14 FPGA4-16 decoder ..im extremly sory for trubling you...hope you wont mistake me

0 Kudos
Altera_Forum
Honored Contributor II
959 Views

You may not find the exact code for what you are looking for, but at least you'll learn how to do it. It's not that difficult.

0 Kudos
Altera_Forum
Honored Contributor II
959 Views

im trying to simulate in vhdl since 4th of july 2009..i dnt no why im nt getting the exact output as schematic simulation..im mently failed for this..

0 Kudos
Altera_Forum
Honored Contributor II
959 Views

What output do you get now and what do you expect to get?

0 Kudos
Altera_Forum
Honored Contributor II
959 Views

im getting a different wave form of vhdl compaire to the wave form of shematic diagram verilog program..why im nt getting the output as same when i do my vhdl programming for mm74hci54 4-16 line decoder....hope you will help me,, 

 

 

regards  

 

shimaz
0 Kudos
Altera_Forum
Honored Contributor II
959 Views

Show us your code and we could help you

0 Kudos
Altera_Forum
Honored Contributor II
959 Views

i have send my vhdl coding to ur inbox..check it tel me the wrong where i have done,and hope u vl correct me

0 Kudos
Altera_Forum
Honored Contributor II
959 Views

I can't see anything wrong with your code... What does the simulation output look like?

0 Kudos
Reply