Updated license information in each verilog source file.

This commit is contained in:
Niels Moseley 2018-01-12 02:06:27 +01:00
parent 198c3c822a
commit eab24a0896
19 changed files with 318 additions and 63 deletions

View File

@ -1,8 +1,23 @@
// 7-segment display driver for DE0 board // SPEECH 256
// // Copyright (C) 2017 Niels Moseley / Moseley Instruments
// Niels Moseley - Moseley Instruments 2017
// http://www.moseleyinstruments.com // http://www.moseleyinstruments.com
// //
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
//
// 7-segment display driver for DE0 board
module segmentdisplay ( module segmentdisplay (
clk, clk,

View File

@ -1,9 +1,22 @@
// SPEECH 256
// Copyright (C) 2017 Niels Moseley / Moseley Instruments
// http://www.moseleyinstruments.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
// //
// Speech256 DE0 board top level // Speech256 DE0 board top level
// //
// Niels Moseley - Moseley Instruments 2017
// http://www.moseleyinstruments.com
//
//`define USE_SDDAC //`define USE_SDDAC
`define YOUTUBE_MESSAGE `define YOUTUBE_MESSAGE

View File

@ -1,10 +1,23 @@
// SPEECH 256
// Copyright (C) 2017 Niels Moseley / Moseley Instruments
// http://www.moseleyinstruments.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// //
// Speech256 controller / sequencer // Speech256 controller / sequencer
// //
// Niels Moseley - Moseley Instruments 2017
// http://www.moseleyinstruments.com
//
//
module CONTROLLER ( module CONTROLLER (
clk, // global Speech256 clock clk, // global Speech256 clock

View File

@ -1,9 +1,22 @@
// SPEECH 256
// Copyright (C) 2017 Niels Moseley / Moseley Instruments
// http://www.moseleyinstruments.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
// //
// Controller testbench // Controller testbench
// //
// Niels Moseley - Moseley Instruments 2017
// http://www.moseleyinstruments.com
//
module CONTROLLER_TB; module CONTROLLER_TB;
reg clk, rst_an; reg clk, rst_an;

View File

@ -1,10 +1,24 @@
// SPEECH 256
// Copyright (C) 2017 Niels Moseley / Moseley Instruments
// http://www.moseleyinstruments.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// //
// 8-bit sign-magnitude to 10-bit sign-magnitude // 8-bit sign-magnitude to 10-bit sign-magnitude
// conversion block // conversion block
// //
// Niels Moseley - Moseley Instruments 2017
// http://www.moseleyinstruments.com
//
// //
// C1: x*8 // C1: x*8
// C2: 301 + (x-38)*4 = 301 - 152 + x*4 = 149 + x*4 // C2: 301 + (x-38)*4 = 301 - 152 + x*4 = 149 + x*4

View File

@ -1,9 +1,22 @@
// SPEECH 256
// Copyright (C) 2017 Niels Moseley / Moseley Instruments
// http://www.moseleyinstruments.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
// //
// XLAT testbench // XLAT testbench
// //
// Niels Moseley - Moseley Instruments 2017
// http://www.moseleyinstruments.com
//
module XLAT_TB; module XLAT_TB;
reg [7:0] c8_in; reg [7:0] c8_in;

View File

@ -1,10 +1,23 @@
// SPEECH 256
// Copyright (C) 2017 Niels Moseley / Moseley Instruments
// http://www.moseleyinstruments.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
// //
// 12th order all-pole filter with // 12th order all-pole filter with
// internal coefficient RAM // internal coefficient RAM
// //
// Niels Moseley - Moseley Instruments 2017
// http://www.moseleyinstruments.com
//
module FILTER ( module FILTER (
clk, clk,

View File

@ -1,9 +1,23 @@
// SPEECH 256
// Copyright (C) 2017 Niels Moseley / Moseley Instruments
// http://www.moseleyinstruments.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
// //
// FILTER testbench // FILTER testbench
// //
// Niels Moseley - Moseley Instruments 2017
// http://www.moseleyinstruments.com
//
module FILTER_TB; module FILTER_TB;
reg clk, rst_an, start, coef_load, check_finish, clear_states; reg clk, rst_an, start, coef_load, check_finish, clear_states;

View File

@ -1,11 +1,24 @@
// SPEECH 256
// Copyright (C) 2017 Niels Moseley / Moseley Instruments
// http://www.moseleyinstruments.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// //
// Very simple, i.e. 8-bit non noise-shaping pulse-width modulation (PWM) DAC. // Very simple, i.e. 8-bit non noise-shaping pulse-width modulation (PWM) DAC.
// The DAC has a pull interface. // The DAC has a pull interface.
// //
// Niels Moseley - Moseley Instruments 2017
// http://www.moseleyinstruments.com
//
//
// For a 10 kHz output rate, the clock rate should be 2.560 MHz // For a 10 kHz output rate, the clock rate should be 2.560 MHz
// //

View File

@ -1,9 +1,23 @@
// SPEECH 256
// Copyright (C) 2017 Niels Moseley / Moseley Instruments
// http://www.moseleyinstruments.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// //
// PWMDAC testbench // PWMDAC testbench
// //
// Niels Moseley - Moseley Instruments 2017
// http://www.moseleyinstruments.com
//
module PWMDAC_TB; module PWMDAC_TB;
reg clk, rst_an; reg clk, rst_an;

View File

@ -1,13 +1,26 @@
// SPEECH 256
// Copyright (C) 2017 Niels Moseley / Moseley Instruments
// http://www.moseleyinstruments.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// //
// Second-order sigma-delta DAC // Second-order sigma-delta DAC
// The DAC has a pull interface. // The DAC has a pull interface.
// //
// Number of input bits used: 12 // Number of input bits used: 12
// //
// Niels Moseley - Moseley Instruments 2017
// http://www.moseleyinstruments.com
//
//
// Designed for a clock rate of 2.5 MHz // Designed for a clock rate of 2.5 MHz
// //

View File

@ -1,9 +1,23 @@
// SPEECH 256
// Copyright (C) 2017 Niels Moseley / Moseley Instruments
// http://www.moseleyinstruments.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// //
// PWMDAC testbench // PWMDAC testbench
// //
// Niels Moseley - Moseley Instruments 2017
// http://www.moseleyinstruments.com
//
module SD2DAC_TB; module SD2DAC_TB;
reg clk, rst_an; reg clk, rst_an;

View File

@ -1,3 +1,21 @@
%// SPEECH 256
%// Copyright (C) 2017 Niels Moseley / Moseley Instruments
%// http://www.moseleyinstruments.com
%//
%// This program is free software: you can redistribute it and/or modify
%// it under the terms of the GNU General Public License as published by
%// the Free Software Foundation, either version 3 of the License, or
%// (at your option) any later version.
%//
%// This program is distributed in the hope that it will be useful,
%// but WITHOUT ANY WARRANTY; without even the implied warranty of
%// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
%// GNU General Public License for more details.
%//
%// You should have received a copy of the GNU General Public License
%// along with this program. If not, see <http://www.gnu.org/licenses/>.
%//
%//
% %
% Show testbench results for sd2dac % Show testbench results for sd2dac
% %

View File

@ -1,10 +1,22 @@
// SPEECH 256
// Copyright (C) 2017 Niels Moseley / Moseley Instruments
// http://www.moseleyinstruments.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
// //
// Source part of speech synth // Source part of speech synth
// //
// Niels Moseley - Moseley Instruments 2017
// http://www.moseleyinstruments.com
//
//
module SOURCE ( module SOURCE (
clk, clk,

View File

@ -1,9 +1,22 @@
// SPEECH 256
// Copyright (C) 2017 Niels Moseley / Moseley Instruments
// http://www.moseleyinstruments.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
// //
// PWMDAC testbench // PWMDAC testbench
// //
// Niels Moseley - Moseley Instruments 2017
// http://www.moseleyinstruments.com
//
module SOURCE_TB; module SOURCE_TB;
reg clk, rst_an, strobe; reg clk, rst_an, strobe;

View File

@ -1,10 +1,22 @@
// // SPEECH 256
// Speecht256 top level // Copyright (C) 2017 Niels Moseley / Moseley Instruments
//
// Niels Moseley - Moseley Instruments 2017
// http://www.moseleyinstruments.com // http://www.moseleyinstruments.com
// //
// // This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// Speech256 top level
//
module SPEECH256_TOP ( module SPEECH256_TOP (
clk, // global Speech256 clock (256*10kHz) clk, // global Speech256 clock (256*10kHz)

View File

@ -1,9 +1,23 @@
// // SPEECH 256
// PWMDAC testbench // Copyright (C) 2017 Niels Moseley / Moseley Instruments
//
// Niels Moseley - Moseley Instruments 2017
// http://www.moseleyinstruments.com // http://www.moseleyinstruments.com
// //
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
//
// Speech256 top level testbench
//
module SPEECH256_TOP_TB; module SPEECH256_TOP_TB;
reg clk, rst_an; reg clk, rst_an;

View File

@ -1,11 +1,22 @@
// SPEECH 256
// Copyright (C) 2017 Niels Moseley / Moseley Instruments
// http://www.moseleyinstruments.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
// //
// 16bit x 10bit signed serial/parallel multiplier. // 16bit x 10bit signed serial/parallel multiplier.
// //
// Niels Moseley - Moseley Instruments 2017
// http://www.moseleyinstruments.com
//
//
//
module SPMUL ( module SPMUL (
clk, clk,

View File

@ -1,9 +1,22 @@
// SPEECH 256
// Copyright (C) 2017 Niels Moseley / Moseley Instruments
// http://www.moseleyinstruments.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
// //
// SPMUL testbench // SPMUL testbench
// //
// Niels Moseley - Moseley Instruments 2017
// http://www.moseleyinstruments.com
//
module SPMUL_TB; module SPMUL_TB;
reg clk, rst_an, start; reg clk, rst_an, start;