Continue to Site

Welcome to EDAboard.com

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.

ascii code comparison

Status
Not open for further replies.

scorrpeio

Full Member level 5
Joined
Dec 26, 2006
Messages
286
Helped
10
Reputation
20
Reaction score
9
Trophy points
1,298
Activity points
3,496
Can I write a programme to compare ascii codes with that in eprom in VHDL?
If yes then wht can be the possible logic?

Thank you inadvance.
 

Do you want to compare single characters, one at a time or ascii strings ?
That distinction makes a big difference.

If single characters are to be compared for presence in a ROM, then you can use the incoming ascii code as the ROM address. If this character is legal, the rom should output some value ( one for instance), else it should produce an opposite value ( zero for instance ).

In the latter case when you are going to compare strings, some more advanced concepts should be employed depending on the requirements of your project.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top