G
Greg
Guest
module div_16M(clk,tc_1s);
input clk;
output tc_1s;
reg[23:0] count;
reg tc_1s;
always@ (posedge clk);
begin
count <= count + 1;
tc_1s <= &count;
end
Doesn't this module just output(tc_1s) a 0 until the count reaches all
1s in which then it outputs(tc_1s) a 1?
input clk;
output tc_1s;
reg[23:0] count;
reg tc_1s;
always@ (posedge clk);
begin
count <= count + 1;
tc_1s <= &count;
end
Doesn't this module just output(tc_1s) a 0 until the count reaches all
1s in which then it outputs(tc_1s) a 1?