Forum Discussion
Altera_Forum
Honored Contributor
17 years agoMm74hc154 Fpga
hi friends
im doing a project on MM74HC154 FPGA 4-to-16 line decoder i need some ideas and informations... waiting for your replies shimaz16 Replies
- Altera_Forum
Honored Contributor
There are also many vhdl tutorials on the net (http://www.lmgtfy.com/?q=vhdl+tutorial).
- Altera_Forum
Honored Contributor
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... - Altera_Forum
Honored Contributor
This is Verilog. There are many verilog tutorials on the web (http://lmgtfy.com/?q=verilog+tutorial).
- Altera_Forum
Honored Contributor
thanks friend..
is this coding for verilog or VHDL... your dam good in programming..how can i learn programming... waitng for your repy shimaz - Altera_Forum
Honored Contributor
@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...
Have fun learing FPGA design.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 - Altera_Forum
Honored Contributor
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