tantalis
Newbie level 3
can you give me more vhdl prime number examples.because I dont vhdl code created.
my english very bad so sorry :lol:
this code will be follows:
PRIME NUMBER TESTER IC DESIGN
Design an IC which has
8 bit input N
1 bit input START
CLOCK and asynchronous RESET inputs
1 bit READY output
1 bit RESULT output
We assume that the input N is always greater than 2.
IC should start the test when START is TRUE, and when the test is completed READY must be set to TRUE.
If the input number N is PRIME, then the output RESULT must be set to TRUE when the IC completes the test. If the input number N is not PRIME, the output RESULT must be set to FALSE when then IC completes the test.
thank you very much friends
my english very bad so sorry :lol:
this code will be follows:
PRIME NUMBER TESTER IC DESIGN
Design an IC which has
8 bit input N
1 bit input START
CLOCK and asynchronous RESET inputs
1 bit READY output
1 bit RESULT output
We assume that the input N is always greater than 2.
IC should start the test when START is TRUE, and when the test is completed READY must be set to TRUE.
If the input number N is PRIME, then the output RESULT must be set to TRUE when the IC completes the test. If the input number N is not PRIME, the output RESULT must be set to FALSE when then IC completes the test.
thank you very much friends