• Log in or sign up for an account here: https://www.sythe.org/login

[Paying 40 usd ] Need help with project

legendisborn

Active Member
Joined
Jul 2, 2010
Sythe Gold
0
Messages
205
8 inputs are used to represent 2 digits from 00 to 99. Show the value on the 7-segment displays and the Led1 and Led2 will light up when the values are “20” and “40” respectively.

device: MAX7000S
EPM7128SLC84-7

NzxIb.png


Payment will be sent as a gift by paypal.

EDIT : sorry i changed the question cos my fren told me wrong question to do. omg )= Pls help me out guys !~
 
How to design a circuit that counts the number of ‘1’s from inputs A3, A2, A1 and A0. Show the number of ‘1’s on the 7-segment display and the value of A on 4 Leds. The Led will turn on when the display is 3 or 4.

device: MAX7000S
EPM7128SLC84-7

5LtcH.png


Payment will be sent as a gift by paypal.

Need a better explanation & what language you want it in.
 
Need a better explanation & what language you want it in.

He explained what he needs done - it's very basic, I'm guessing it needs to be done in VHDL.

This type of assignment is meant to teach you the foundation of the HDL that you are using; I think it would be stupid to get someone else to do it for you.
 
He explained what he needs done - it's very basic, I'm guessing it needs to be done in VHDL.

This type of assignment is meant to teach you the foundation of the HDL that you are using; I think it would be stupid to get someone else to do it for you.

I did say better explanation.
A 7-segment display doesn't mean much to me, but I'm guessing that is a component for VHDL.
In any case if it isn't vb6 or .net I'm out.
 
you need to atleast find which pin on your 7 segment does whut, other wise there is no way (unless you can find the exactly the data sheet for it).

I willl look into vhdl aswell, and hopefully should be retty easy. But yeah without knowing the pinout of your 7 segment its really difficult for any one to do it.
 
Show the number of ‘1’s on the 7-segment display

This function will return a vector that will display the number you pass (temp) on the 7seg

Code:
function sevenSeg (temp : INTEGER) return STD_LOGIC_VECTOR is
	
	VARIABLE result: STD_LOGIC_VECTOR(6 downto 0); 
	
	begin
	
	case temp is
		when 0 => result:= "1000000";
		when 1 => result:= "1111001";
	        when 2 => result:= "0100100";
		when 3 => result:= "0110000";
		when 4 => result:= "0011001";
		when 5 => result:= "0010010";
		when 6 => result:= "0000010";
		when 7 => result:= "1111000";
		when 8 => result:= "0000000";
		when 9 => result:= "0011000"; 
		when others => result := "0000110"; 
	end case;
	
	return result; 
	
	end sevenSeg;

For example if you define HEX0 as such:

Code:
HEX0 : out STD_LOGIC_VECTOR(6 downto 0);

Map 6 downto 0 as the pins of the 7seg, then once you've calculated the number of one's you can pass that as such:

Code:
HEX0 <= sevenSeg(ones);

where ones would be the number of ones up.


The rest of it would be logic, you don't even need to know how to program.

----------------

If you're really struggling add my email under my post count.


edit:


you need to atleast find which pin on your 7 segment does whut, other wise there is no way (unless you can find the exactly the data sheet for it).

I willl look into vhdl aswell, and hopefully should be retty easy. But yeah without knowing the pinout of your 7 segment its really difficult for any one to do it.

Pin planning is the least of his worries for now if he can't get the code right.
 
Runescape Gamblingrunescape gambling
Back
Top