SHARE
TWEET

Untitled

a guest May 20th, 2015 311 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. module BlobArb(
  2.     input [3:0] io_request,
  3.     input [1:0] io_pointer,
  4.     output[3:0] io_grant
  5. );
  6.  
  7.   wire[3:0] T0;
  8.   wire[3:0] T1;
  9.   wire[3:0] T2;
  10.   wire[3:0] T3;
  11.   wire[3:0] T4;
  12.   wire[3:0] T5;
  13.   wire[3:0] T6;
  14.   wire[3:0] T7;
  15.   wire[3:0] T8;
  16.   wire[3:0] T9;
  17.   wire[3:0] T10;
  18.   wire[3:0] T11;
  19.   wire[3:0] T12;
  20.   wire[3:0] T51;
  21.   wire[2:0] T13;
  22.   wire[2:0] T52;
  23.   wire[1:0] T14;
  24.   wire[1:0] T53;
  25.   wire T15;
  26.   wire T16;
  27.   wire T17;
  28.   wire T18;
  29.   wire T19;
  30.   wire T20;
  31.   wire T21;
  32.   wire T22;
  33.   wire T23;
  34.   wire T24;
  35.   wire T25;
  36.   wire T26;
  37.   wire T27;
  38.   wire T28;
  39.   wire T29;
  40.   wire T30;
  41.   wire T31;
  42.   wire T32;
  43.   wire T33;
  44.   wire T34;
  45.   wire T35;
  46.   wire T36;
  47.   wire T37;
  48.   wire T38;
  49.   wire T39;
  50.   wire T40;
  51.   wire T41;
  52.   wire T42;
  53.   wire T43;
  54.   wire T44;
  55.   wire T45;
  56.   wire T46;
  57.   wire T47;
  58.   wire T48;
  59.   wire T49;
  60.   wire T50;
  61.  
  62.  
  63.   assign io_grant = T0;
  64.   assign T0 = T49 ? 4'h4 : T1;
  65.   assign T1 = T47 ? 4'h2 : T2;
  66.   assign T2 = T45 ? 4'h1 : T3;
  67.   assign T3 = T42 ? 4'h8 : T4;
  68.   assign T4 = T40 ? 4'h2 : T5;
  69.   assign T5 = T38 ? 4'h1 : T6;
  70.   assign T6 = T36 ? 4'h8 : T7;
  71.   assign T7 = T33 ? 4'h4 : T8;
  72.   assign T8 = T31 ? 4'h1 : T9;
  73.   assign T9 = T29 ? 4'h8 : T10;
  74.   assign T10 = T27 ? 4'h4 : T11;
  75.   assign T11 = T24 ? 4'h2 : T12;
  76.   assign T12 = T22 ? 4'h8 : T51;
  77.   assign T51 = {1'h0, T13};
  78.   assign T13 = T20 ? 3'h4 : T52;
  79.   assign T52 = {1'h0, T14};
  80.   assign T14 = T18 ? 2'h2 : T53;
  81.   assign T53 = {1'h0, T15};
  82.   assign T15 = T17 & T16;
  83.   assign T16 = io_request[1'h0:1'h0];
  84.   assign T17 = io_pointer == 2'h0;
  85.   assign T18 = T17 & T19;
  86.   assign T19 = io_request[1'h1:1'h1];
  87.   assign T20 = T17 & T21;
  88.   assign T21 = io_request[2'h2:2'h2];
  89.   assign T22 = T17 & T23;
  90.   assign T23 = io_request[2'h3:2'h3];
  91.   assign T24 = T26 & T25;
  92.   assign T25 = io_request[1'h1:1'h1];
  93.   assign T26 = io_pointer == 2'h1;
  94.   assign T27 = T26 & T28;
  95.   assign T28 = io_request[2'h2:2'h2];
  96.   assign T29 = T26 & T30;
  97.   assign T30 = io_request[2'h3:2'h3];
  98.   assign T31 = T26 & T32;
  99.   assign T32 = io_request[1'h0:1'h0];
  100.   assign T33 = T35 & T34;
  101.   assign T34 = io_request[2'h2:2'h2];
  102.   assign T35 = io_pointer == 2'h2;
  103.   assign T36 = T35 & T37;
  104.   assign T37 = io_request[2'h3:2'h3];
  105.   assign T38 = T35 & T39;
  106.   assign T39 = io_request[1'h0:1'h0];
  107.   assign T40 = T35 & T41;
  108.   assign T41 = io_request[1'h1:1'h1];
  109.   assign T42 = T44 & T43;
  110.   assign T43 = io_request[2'h3:2'h3];
  111.   assign T44 = io_pointer == 2'h3;
  112.   assign T45 = T44 & T46;
  113.   assign T46 = io_request[1'h0:1'h0];
  114.   assign T47 = T44 & T48;
  115.   assign T48 = io_request[1'h1:1'h1];
  116.   assign T49 = T44 & T50;
  117.   assign T50 = io_request[2'h2:2'h2];
  118. endmodule
RAW Paste Data
Top