Browse Source

fpga: rename abc_master to abc_host

Rename abc_master to abc_host and use the term "host mode".
Especially avoid the term "slave", except for interfaces (I2C and SPI)
where the terminology is set by industry standard.
H. Peter Anvin 3 years ago
parent
commit
2f3640b11c
3 changed files with 6 additions and 6 deletions
  1. 2 2
      fpga/abcbus.sv
  2. 1 1
      fpga/max80.pins
  3. 3 3
      fpga/max80.sv

+ 2 - 2
fpga/abcbus.sv

@@ -37,7 +37,7 @@ module abcbus (
 	       output	     abc_nmi_x, // System NMI request (ABC800)
 	       output	     abc_xm_x, // System memory override (ABC800)
 	       // Host/device control
-	       output	     abc_master, // 1 = host, 0 = device
+	       output	     abc_host, // 1 = host, 0 = device
 	       output reg    abc_a_oe,
 	       // Bus isolation
 	       output	     abc_d_ce_n,
@@ -97,7 +97,7 @@ module abcbus (
 	     abc_xmemw80_s, abc_xinpstb_s, abc_xoutpstb_s } )
       );
 
-   assign abc_master = 1'b0;	// Only device mode supported
+   assign abc_host = 1'b0;	// Only device mode supported
    assign abc_d_ce_n = 1'b0;	// Do not isolate busses
    assign abc_a_oe   = 1'b0;	// Only device mode, again...
 

+ 1 - 1
fpga/max80.pins

@@ -79,7 +79,7 @@ t13	led[0]
 n9	exth_hb
 t9	exth_hc
 r10	gpio[3]
-t10	abc_master
+t10	abc_host
 r11	exth_hd
 t11	exth_hf
 r12	exth_he

+ 3 - 3
fpga/max80.sv

@@ -2,7 +2,7 @@
 // Top level module for the FPGA on the MAX80 board by
 // Per Mårtensson and H. Peter Anvin
 //
-// This is for MAX80 as slave on the ABC-bus.
+// This is for MAX80 as target on the ABC-bus.
 //
 
 // Sharing JTAG pins (via JTAGEN)
@@ -35,7 +35,7 @@ module max80 (
 	      output	    abc_nmi_x, // System NMI request (ABC800)
 	      output	    abc_xm_x, // System memory override (ABC800)
 	      // Host/device control
-	      output	    abc_master, // 1 = host, 0 = device
+	      output	    abc_host, // 1 = host, 0 = target
 	      output	    abc_a_oe,
 	      // Bus isolation
 	      output	    abc_d_ce_n,
@@ -369,7 +369,7 @@ module max80 (
 		  .abc_int800_x ( abc_int800_x ),
 		  .abc_nmi_x ( abc_nmi_x ),
 		  .abc_xm_x ( abc_xm_x ),
-		  .abc_master ( abc_master ),
+		  .abc_host ( abc_host ),
 		  .abc_a_oe ( abc_a_oe ),
 		  .abc_d_ce_n ( abc_d_ce_n ),