comments in dcache
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 19 Aug 2020 18:58:12 +0000 (19:58 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 19 Aug 2020 18:58:12 +0000 (19:58 +0100)
src/soc/experiment/dcache.py

index 26d961a2bb38057d2dc0231158f46e4c95806790..4635b32bf7cb1b3cf515c1c66783c15b89862ba7 100644 (file)
@@ -877,6 +877,10 @@ class Reservation(RecordObject):
 #
 # begin
 #
+"""these, because they are constants, can actually be done *as*
+   python asserts:
+   assert LINE_SIZE % ROWSIZE == 0, "line size not ...."
+"""
 #     assert LINE_SIZE mod ROW_SIZE = 0
 #      report "LINE_SIZE not multiple of ROW_SIZE" severity FAILURE;
 #     assert ispow2(LINE_SIZE)