function hB = plugin_board()
% Board definition
%
% Construct board object

%   Copyright 2023 The MathWorks, Inc.


hB = hdlcoder.Board;

hB.BoardName    = 'USRP N320';

% FPGA device information
hB.FPGAVendor   = 'Xilinx';
hB.FPGAFamily   = 'Zynq';
hB.FPGADevice   = 'xc7z100';
hB.FPGAPackage  = 'ffg900';
hB.FPGASpeed    = '-2';

% Tool information
hB.SupportedTool = {'Xilinx Vivado'};
% Enable USRP RFNoC platform
hB.isUSRPRFNoC = true;

% Write and Read Registers
hB.addInterface(internal.hdlwa.RegisterInterface('Write Register'));
hB.addInterface(internal.hdlwa.RegisterInterface('Read Register'));