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.

4 bit processor vhdl code

Status
Not open for further replies.

john44

Newbie level 2
Joined
Nov 13, 2014
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
12
Does anyone have VHDL code for simple processor with 4 4-bit registers and a 16- word memory with 8-bit words.
 

ads-ee

Super Moderator
Staff member
Joined
Sep 10, 2013
Messages
7,860
Helped
1,817
Reputation
3,644
Reaction score
1,782
Trophy points
1,393
Location
USA
Activity points
59,415
This seems like a homework assignment, where you are supposed to design a 4-bit processor, otherwise there would be absolutely no reason to use a processor as you've described. You should do your homework instead of asking for code.

If you already did it and wanted to compare then post your code and you're certain to get lots of critiquing. Otherwise take a look on open cores and look at some of the simple 8-bit processors and extrapolate a 4-bit one from that.
 

john44

Newbie level 2
Joined
Nov 13, 2014
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
12
This seems like a homework assignment, where you are supposed to design a 4-bit processor, otherwise there would be absolutely no reason to use a processor as you've described. You should do your homework instead of asking for code.

If you already did it and wanted to compare then post your code and you're certain to get lots of critiquing. Otherwise take a look on open cores and look at some of the simple 8-bit processors and extrapolate a 4-bit one from that.

You are totally right. The assignment is about 8 bit processor. I'm trying to find 4 bit processor source code to make it 8 bit processor. My goal is to learn not to copy. I have read VHDL programming book, and it is kind hard for me as a beginner.
 

ads-ee

Super Moderator
Staff member
Joined
Sep 10, 2013
Messages
7,860
Helped
1,817
Reputation
3,644
Reaction score
1,782
Trophy points
1,393
Location
USA
Activity points
59,415
My goal is to learn not to copy. I have read VHDL programming book, and it is kind hard for me as a beginner.
Good for you! :grin: That is the attitude that will make you a success (unlike those nameless others that post here :wink:).

Maybe you could look at the Intel 4040 or perhaps https://opencores.org/project,mcs-4 to get some inspiration.

Here is a project for the 4004
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top