//
// Written by Synplify Pro 
// Product Version "P-2019.03G"
// Program "Synplify Pro", Mapper "mapgw, Build 1450R"
// Thu Oct 17 14:13:05 2019
//
// Source file index table:
// Object locations will have the form <file>:<line>
// file 0 "\d:\gowin\gowin_v1.9.2.01beta\synplifypro\lib\generic\gw1n.v "
// file 1 "\d:\gowin\gowin_v1.9.2.01beta\synplifypro\lib\vlog\hypermods.v "
// file 2 "\d:\gowin\gowin_v1.9.2.01beta\synplifypro\lib\vlog\umr_capim.v "
// file 3 "\d:\gowin\gowin_v1.9.2.01beta\synplifypro\lib\vlog\scemi_objects.v "
// file 4 "\d:\gowin\gowin_v1.9.2.01beta\synplifypro\lib\vlog\scemi_pipes.svh "
// file 5 "\d:\gowin\gowin_v1.9.2.01beta\ide\ipcore\flashcontroller\data\gowin_flash_controller.v "
// file 6 "\d:\gowin\gowin_v1.9.2.01beta\ide\ipcore\flashcontroller\data\gowin_flash_controller_top.v "
// file 7 "\d:\user-bak\users\root\desktop\flash256k_reg_if\src\gowin_flash_controller\temp\flashcontroller\config.v "
// file 8 "\d:\user-bak\users\root\desktop\flash256k_reg_if\src\gowin_flash_controller\temp\flashcontroller\gowin_flash_controller_name.v "
// file 9 "\d:\gowin\gowin_v1.9.2.01beta\synplifypro\lib\nlconst.dat "

`timescale 100 ps/100 ps
`pragma protect begin_protected
`pragma protect version=1
`pragma protect author="default"
`pragma protect author_info="default"
`pragma protect encrypt_agent="Synplify encryptP1735.pl"
`pragma protect encrypt_agent_info="Synplify encryptP1735.pl Version 1.1"

`pragma protect encoding=(enctype="base64", line_length=76, bytes=256)
`pragma protect key_keyowner="Synplicity"
`pragma protect key_keyname="SYNP05_001"
`pragma protect key_method="rsa"
`pragma protect key_block
OgoPleCFjju75sGdWYBohdWy2c0InEZZUXMx69cM5Chqj9LN1ovxPCurUOp+TOZ+9fgeCEkk4I5m
XiVR6VIeiYFCRGYx8i+XvEWl12JC4OAQQ6s11exReRB0Rn9mEVMf4t5s1Eveb4uO5FEs+xKIOkxZ
eOvkqqTs8Me/1W0CCDJ4uJSl/oZSayFHEyBgsivAeuya3nCM8k81mdQt/XHDjZ6ynj2khIjOcLlV
VLU6KPJQcUbkOX3oHaRbNh04VouNAq6CaQ+jvePpN+ggA5Y02F/VBIgVnZK++Zw3rS/phrVFKVCC
O/Fpjtbk1N+B92eW8gY/e5820djqosdAfaQrfA==

`pragma protect encoding=(enctype="base64", line_length=76, bytes=256)
`pragma protect key_keyowner="GoWin"
`pragma protect key_keyname="GoWin2016"
`pragma protect key_method="rsa"
`pragma protect key_block
sDB623tqHB0CEb6UFM2TGwbyzTDYdlgvHJ/HN9qrm+AOLE03QsudSbIskXSDjOnL12z9IMNlDbAW
jc6g4VxFRXL3OzM/NQfl2Igrjm9wZZ8DjA5D//GU1K49Bn1Bd0cYJ8xQTApi1hi1Q2DNIGQ8zcus
3ohhIPPMNM53SfRleaWdsBp4dQ6SNT4eWtpcRhFme1qj4mlWUDJzE+0y9DcVtkTWLvIWyaGwj6q6
Ehs/lceFYssYh9nA0v3XEXF1U7sVdVGxV8HTpp4nBlqDiywpTqAIRsqiIsWTZwl7++ZD/iqPLzDm
xFon2ieP/WblCJdLbX48+7+TXroXmY1b+IN4/Q==

`pragma protect data_keyowner="default-ip-vendor"
`pragma protect data_keyname="default-ip-key"
`pragma protect data_method="aes128-cbc"
`pragma protect encoding=(enctype="base64", line_length=76, bytes=138576)
`pragma protect data_block
[encoded data, 184756 characters]
7MqTLtoBWHE/
`pragma protect end_protected
module Gowin_Flash_Controller_Top (
  wdata_i,
  wyaddr_i,
  wxaddr_i,
  erase_en_i,
  done_flag_o,
  start_flag_i,
  clk_i,
  nrst_i,
  rdata_o,
  wr_en_i
)
;
input [31:0] wdata_i ;
input [5:0] wyaddr_i ;
input [6:0] wxaddr_i ;
input erase_en_i ;
output done_flag_o ;
input start_flag_i ;
input clk_i ;
input nrst_i ;
output [31:0] rdata_o ;
input wr_en_i ;
wire erase_en_i ;
wire done_flag_o ;
wire start_flag_i ;
wire clk_i ;
wire nrst_i ;
wire wr_en_i ;
wire GND ;
wire VCC ;
  GSR GSR_INST (
	.GSRI(VCC)
);
// @6:145
  Flash_Ctroller_256K u_Flash_Ctroller_256K (
	.clk(clk_i),
	.nreset(nrst_i),
	.wdata_i(wdata_i[31:0]),
	.w_r_signal(wr_en_i),
	.wxaddr_i(wxaddr_i[6:0]),
	.wyaddr_i(wyaddr_i[5:0]),
	.Done_signal(done_flag_o),
	.Start_signal(start_flag_i),
	.rdata_o(rdata_o[31:0]),
	.erase_i(erase_en_i)
);
  GND GND_cZ (
	.G(GND)
);
  VCC VCC_cZ (
	.V(VCC)
);
endmodule /* Gowin_Flash_Controller_Top */

