aboutsummaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/master.v4
-rw-r--r--models/slave.v4
2 files changed, 2 insertions, 6 deletions
diff --git a/models/master.v b/models/master.v
index b728bda..0e128ec 100644
--- a/models/master.v
+++ b/models/master.v
@@ -6,7 +6,7 @@
`ifndef SIMULATION
`error_SIMULATION_not_defined
; /* Cause syntax error */
-`else
+`endif
module master_model
#(
@@ -219,5 +219,3 @@ module master_model
end // else: !if(RST_I)
end // always @ (posedge CLK_I)
endmodule // master_model
-
-`endif // !`ifndef SIMULATION
diff --git a/models/slave.v b/models/slave.v
index bae3485..9c58ffd 100644
--- a/models/slave.v
+++ b/models/slave.v
@@ -6,7 +6,7 @@
`ifndef SIMULATION
`error_SIMULATION_not_defined
; /* Cause syntax error */
-`else
+`endif
module memory_slave_model
#(
@@ -142,5 +142,3 @@ module memory_slave_model
end
end
endmodule // memory_slave_model
-
-`endif // !`ifndef SIMULATION