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.

ASIC Processor for electronic ticket issuing machine

Status
Not open for further replies.

lakshakumara

Newbie level 1
Joined
Mar 25, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,297
Im university student and following processor design course
I've to design ASIC for electronic ticket issuing machine
I feel trouble for these,
1. how to draw block diagram for this processor
2. what are necessaory component inside the processor
3. VHDL code for Xilinx 13.2

already I have design a ISA like,

Instruction Set
OP-Code (hex) Mnemonic Meaning
0000 0000 FROMSEC Load starting section to registers
0000 0001 TOSEC Load destination section to register
0000 0010 CALPRICE Calculate the price
0000 0011 LCDOUT Print on display
0000 0100 PRINT Send to printer
0000 0101 WAIT Wait till Ok button is pressed
0000 0110 SEARCH Search from look up table
0000 0111 ADD Addition 16 bit value
0000 1000 SUB subtraction
0000 1001 INC increment
0000 1010 CLEARREG Clear register
0000 1011 PADULT No of adult passengers
0000 1100 PCHILD No of child passengers
0000 1101 PAMOUNT Passenger Amount
0000 1110 WRITE Write to look up table
0000 1111 SAVE Store in memory
0001 0000 BALANCE Balance payment if positive if negative not set
0001 0001 LOOP Loop section
0001 0010 JUMP Jump to Label

Sample Program for issuing a ticket for a passenger I used a look up table for locations, price and so on data.

Main:
FROMSEC, r1 //read start section and set register R1
TOSEC,r2 // read destination and set Register R2
PADULT ,r3 // read no of adult passengers and set register R3
PCHILD ,r4 //read no of child passengers and set register R4
CALPRICE,r5 // calculate total amount and set register R5
PAMOUNT,r6 //read passenger giving money and set register R6
BALANCE,r7 // Balance pay
PRINT // print a ticket
JUMP MAIN

plzzzzzzzzzz help me to
1. how to draw block diagram for this processor
2. what are necessaory component inside the processor
3. VHDL code for Xilinx 13.2

best reguard,
Lakshakkumara.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top