ericherman / hex-seven-segment Goto Github PK
View Code? Open in Web Editor NEWlogic to decode 4 bits into a 7 segment display
License: Other
logic to decode 4 bits into a 7 segment display
License: Other
####################################### # The seven segment LED has 8 LEDs # labeled A-G and 'p' for the point # given 4 bits of data on wires # where wire 'a' is 2^0, wire 'b' # is 2^1, wire 'c' is 2^2, wire 'd' # is 2^3, we wish to illuminate the # seven segment LED to look like the # numerals 0-9,A,b,C,d,E,F # _ _ _ _ _ _ # | | | _| _| |_| |_ |_ | # |_| | |_ _| | _| |_| | # # _ _ _ _ _ _ # |_| |_| |_| |_ | _| |_ |_ # |_| _| | | |_| |_ |_| |_ | # # A # F B # G # E C # D p Hex dcba ABCDEFGp 0 0000 11111100 1 0001 01100000 2 0010 11011010 3 0011 11110010 4 0100 01100110 5 0101 10110110 6 0110 10111110 7 0111 11100000 8 1000 11111110 9 1001 11110110 A 1010 11101110 b 1011 00111110 C 1100 10011100 d 1101 01111010 E 1110 10011110 F 1111 10001110 ###################################### A: (!c !a) or (!d b) or (c b) or (d !a) or (!d c a) or (d !c !b) B: (!d !c) or (!c !a) or (!d !b !a) or (!d b a) or (d !b a) C: (!d !b) or (!d a) or (!b a) or (!d c) or (d !c) D: ( d !b) or (!d !c !a) or (!c b a) or (c !b a) or (c b !a) E: (!c !a) or ( b !a) or (d b) or (d c) F: (!b !a) or ( c !a) or (d !c) or (d b) or (!d c !b) G: (!c b) or ( b !a) or (d !c) or (d a) or (!d c !b) ###################################### # 2020-08-19 see a simulation working: https://circuitverse.org/users/33230/projects/hex-seven-segment ###################################### # LICENSE: CERN-OHL-S-2.0 ###################################### CERN Open Hardware Licence Version 2 - Strongly Reciprocal https://ohwr.org/cern_ohl_s_v2.txt ######################################
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.