how to identify the micro controller

WBahn

Joined Mar 31, 2012
30,057
what is instruction set how we can design ?
Gee, that's one of the things that is walked through in the Nand2Tetris project.

The software is free and can be downloaded. The first half of the book (which is more than what you need for this stuff) is free and available on line.

But why is it I get the feeling you have no interest in even looking into it?
 

Thread Starter

vead

Joined Nov 24, 2011
629
Gee, that's one of the things that is walked through in the Nand2Tetris project.

The software is free and can be downloaded. The first half of the book (which is more than what you need for this stuff) is free and available on line.

But why is it I get the feeling you have no interest in even looking into it?
no I am interested I download can you send link where I can download software
 

Thread Starter

vead

Joined Nov 24, 2011
629
finally I realized I need to read datasheet of 8 bit micro controller First I collect some datasheet and then Ask specific question
 

Thread Starter

vead

Joined Nov 24, 2011
629
I have looked some datasheet and I have done some little work

Micro controller features

8 bit micro controller
8 bit ALU
8 bit data
8 bit instruction
8 bit input port
8 bit output port
4K bytes program memory on chip (ROM)
8K bytes data memory on chip (RAM)
64K program memory(external ROM)
64K data memory (external RAM)
16 bit counter
16 bit data pointer
16 bit stack pointer
64k stack address

1)Micro controller n bit-
Its depend upon the requirement
It may be 4bit , 8 bit, 16bit, 32 bit, 64bit.....etc
I choose 8 bit micro controller

2)ALU n bit -
If the data is n bit. the ALU will be n bit
It may be 4bit , 8 bit, 16bit, 32 bit, 64bit..... etc
I choose 8 bit ALU

3)data is n bit
data bit may be 4bit , 8 bit, 16bit, 32 bit, 64bit ......etc
I choose 8 bit data
data is 8 bit wide

4)instruction n bit
It may be 4bit , 8 bit, 16bit, 32 bit, 64bit.....etc
I choose longer instruction bit I have much room for address
data bit and instruction bit may be different size
If data is only 8 bit but instruction may be 8 bit 16 bit
I choose 8 bit instruction

5)Rom on chip
Its depend upon How much big program we want to write
It may be 256,512,1024,1K,2K,4K,8k,16K,32K,64K,128k,256k,512k,1m,2m ......etc
I choose 4k

6) RAM on chip
Its depend on how much data we want to store
It may be 256,512,256 byte, 512byte,1k,2k,8k.........etc
I choose 8k

micro controller need external ROM and ROM
7)external ROM 64K
8)external RAM 64k

9)program counter n bit
it may be 8 bit ,16 bit........etc
I choose 16 bit
It can address 64k memory

10)data pointer n bit
It may be 8 bit 16bit... etc
I choose 16 bit
It can address 64k memory

11) I choose 16 stack pointer and 64 address space

I know its not enough to make micro controller. I need to know more
please check out my features If somewhere I am wrong please tell me I will work again
 

tshuck

Joined Oct 18, 2012
3,534
I just want to ask one thing can I post here for verilog source code ?
You can ask, but it is doubtful that anyone will post it. A better option would be to design it yourself and ask question if/when you get stuck.

This is something that you cannot simply do, you must understand how it works. You need to understand the basics before you can do this project meaningfully.

Given the questions you have been asking, you need to start near the beginning. Go through some Verilog tutorials, learn some things. Use the NAND2Tetris book as a tool that will help familiarize you with the necessary components it takes to create a microcontroller, then come back to this project.
 

Thread Starter

vead

Joined Nov 24, 2011
629
You can ask, but it is doubtful that anyone will post it. A better option would be to design it yourself and ask question if/when you get stuck.

This is something that you cannot simply do, you must understand how it works. You need to understand the basics before you can do this project meaningfully.

Given the questions you have been asking, you need to start near the beginning. Go through some Verilog tutorials, learn some things. Use the NAND2Tetris book as a tool that will help familiarize you with the necessary components it takes to create a microcontroller, then come back to this project.
can you check out my micro controller features?
 

Thread Starter

vead

Joined Nov 24, 2011
629
Your first need an understanding before you can hope to design.
I know I just want to check out that my features is correct or Incorrect I am studying on basic concept l Am going top level to bottom
ex I know microcontroller make with cpu memory
I thought how to make cpu ?
answer cpu make with alu and control unit.

then I thought how alu make?
answer alu make with basic gates,

how gate make
answer gate make with transistor

I am planning in this way I can go bottom to top or top to bottom
 
Top