💾 Go Back
Last updated 2018-02-26 by Muchen
Datapath
Controller
Pseudo Code
xxxxxxxxxxfor i from 2 to n do if remainder(n/i) == 0 then not primeprime
xxxxxxxxxx
for i from 2 to n do
if remainder(n/i) == 0 then
not prime
prime
Unassigned signals gets default 0