Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

Calculator system (implement input output display functions)

mt_maque

Newbie
Joined
Nov 21, 2020
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
18
Good afternoon to whomever this may concern. I am trying to create a calculator system, that will be programmed on the D10-LITE FPGA board. This is the system that I would like to implement

You are to implement a system that performs calculations on 4-bit numbers (your output must account for this). It is capable of performing add, subtract, and 2 other custom operations. The values are to be input from the switches as hex numbers. As the value is entered, it is to be shown on the 7-Segment Display in decimal. The functions to be performed are also input from the switches. After the user enters a value, presses a function, and then the second value, your system will display the result on the 7-Segment display.
 

BradtheRad

Super Moderator
Staff member
Joined
Apr 1, 2011
Messages
13,728
Helped
2,717
Reputation
5,430
Reaction score
2,632
Trophy points
1,393
Location
Minneapolis, Minnesota, USA
Activity points
102,443
Break down operation into smaller functions.

Draw a flowchart.

Decide how switches must be connected to your device, and how to enter numbers.

Did you succeed at showing numbers on a 7 segment display?.
 

mt_maque

Newbie
Joined
Nov 21, 2020
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
18
Break down operation into smaller functions.

Draw a flowchart.

Decide how switches must be connected to your device, and how to enter numbers.

Did you succeed at showing numbers on a 7 segment display?.
Yes, I know how to make each value show up on the 7 segment display. I am unsure how to make my system hold 1 value, input an operation, then input a second value and output the result
 

KlausST

Super Moderator
Staff member
Joined
Apr 17, 2014
Messages
18,406
Helped
4,106
Reputation
8,212
Reaction score
4,041
Trophy points
113
Activity points
121,168
Hi,

Homework.

You need to show what you have done and learned so far.

Klaus
 

Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top