URL
https://opencores.org/ocsvn/socgen/socgen/trunk
Subversion Repositories socgen
Compare Revisions
- This comparison shows the changes necessary to convert path
/socgen/trunk/common/opencores.org/cde/ip/lifo/rtl/verilog
- from Rev 131 to Rev 134
- ↔ Reverse comparison
Rev 131 → Rev 134
/lifo_def.v
File deleted
/copyright.v
File deleted
\ No newline at end of file
/lifo_def
0,0 → 1,19
always@(posedge clk) |
if(reset) push_pointer <= {SIZE{1'b0}}; |
else |
if( push && ~pop) push_pointer <= push_pointer + 1; |
else |
if(~push && pop) push_pointer <= push_pointer - 1; |
else |
push_pointer <= push_pointer; |
|
|
always@(posedge clk) |
if(reset) pop_pointer <= {SIZE{1'b1}}; |
else |
if( push && ~pop) pop_pointer <= pop_pointer + 1; |
else |
if(~push && pop) pop_pointer <= pop_pointer - 1; |
else |
pop_pointer <= pop_pointer; |
|
/copyright
0,0 → 1,20
/**********************************************************************/ |
/* */ |
/* */ |
/* Copyright (c) 2012-2015 Ouabache Design Works */ |
/* */ |
/* All Rights Reserved Worldwide */ |
/* */ |
/* Licensed under the Apache License,Version2.0 (the'License'); */ |
/* you may not use this file except in compliance with the License. */ |
/* You may obtain a copy of the License at */ |
/* */ |
/* http://www.apache.org/licenses/LICENSE-2.0 */ |
/* */ |
/* Unless required by applicable law or agreed to in */ |
/* writing, software distributed under the License is */ |
/* distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES */ |
/* OR CONDITIONS OF ANY KIND, either express or implied. */ |
/* See the License for the specific language governing */ |
/* permissions and limitations under the License. */ |
/**********************************************************************/ |