Skip to content

Commit dbdf063

Browse files
committed
Small fixes
1 parent 2509859 commit dbdf063

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

docs/messbauer_generator/diff_discriminator/diff_discriminator_emulation.png renamed to docs/messbauer_diff_discriminator/diff_discriminator_emulation.png

File renamed without changes.

docs/messbauer_generator/diff_discriminator/diff_discriminator_emulation_enlarged.png renamed to docs/messbauer_diff_discriminator/diff_discriminator_emulation_enlarged.png

File renamed without changes.

messbauer_test_environment/src/messbauer_test_environment.v

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ module messbauer_test_environment
2222
(
2323
input global_clock, // 50 MHz GCLK, T8
2424
input global_reset, // L3 as Button
25-
// Left Side of AX309 Board
26-
output v1_channel, // H15
27-
output v1_start, // F16
25+
// Left Side of AX309 Board
26+
output v1_channel, // F16
27+
output v1_start, // E16
2828
output v1_lower_threshold, // C10
2929
output v1_upper_threshold, // D16
3030
// Right Side of AX309 Board
@@ -47,20 +47,20 @@ messbauer_diff_discriminator_signals v2_diff_discriminator(.aclk(global_clock),
4747

4848
always @(posedge global_clock)
4949
begin
50-
if(~global_reset)
51-
begin
52-
internal_reset <= 1;
53-
counter <= 0;
54-
end
55-
if(counter < 16)
56-
counter <= counter + 1'b1;
57-
if(counter >= 16 && counter < 32)
58-
begin
59-
counter <= counter + 1'b1;
60-
internal_reset <= 0;
61-
end
62-
if(counter == 32)
63-
internal_reset <= 1;
50+
if(~global_reset)
51+
begin
52+
internal_reset <= 1;
53+
counter <= 0;
54+
end
55+
if(counter < 16)
56+
counter <= counter + 1'b1;
57+
if(counter >= 16 && counter < 32)
58+
begin
59+
counter <= counter + 1'b1;
60+
internal_reset <= 0;
61+
end
62+
if(counter == 32)
63+
internal_reset <= 1;
6464
end
6565

6666
endmodule

0 commit comments

Comments
 (0)