Adjust main function port declarations
authorDaniel Benusovich <flyingmonkeys1996@gmail.com>
Tue, 5 Mar 2019 08:44:56 +0000 (00:44 -0800)
committerDaniel Benusovich <flyingmonkeys1996@gmail.com>
Tue, 5 Mar 2019 08:44:56 +0000 (00:44 -0800)
TLB/src/Cam.py

index b15dd275963356ced0c5fe686a40ddf6b6478cf1..2902d34e1f566edda6aa69003a3d9b748b7f5cf1 100644 (file)
@@ -111,7 +111,8 @@ class Cam():
 
 if __name__ == '__main__':
     cam = Cam(4, 4)
-    main(cam, ports=[cam.command, cam.address,
-                     cam.data_in, cam.data_hit,
-                     cam.data_out])
+    main(cam, ports=[cam.enable, cam.write_enable,
+                     cam.data_in, cam.data_mask,
+                     cam.read_warning, cam.single_match,
+                     cam.multiple_match, cam.match_address])